#9333EA color
The swatch above shows #9333EA with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#9333EA is a medium, vivid violet, closest to the CSS named color blueviolet (#8A2BE2).
It is also a Tailwind CSS default: purple-600. That means you can write bg-purple-600 or text-purple-600 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #9333EA |
| RGB | rgb(147, 51, 234) |
| HSL | hsl(271, 81%, 56%) |
| CMYK | cmyk(37%, 78%, 0%, 8%) |
| Decimal | 9647082 |
| CSS | color: #9333EA; |
| Android | 0xFF9333EA |
| Swift | UIColor(red: 0.576, green: 0.200, blue: 0.918, alpha: 1) |
Accessibility and contrast
| White text on #9333EA | 5.38:1 — AA pass · AA large pass · AAA fail |
| Black text on #9333EA | 3.90:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #9333EA
Each swatch keeps the hue and saturation of #9333EA and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #9333EA
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #9333EA in code
/* CSS */
.element { color: #9333EA; background-color: #9333EA; }
.element { color: rgb(147 51 234); }
.element { color: hsl(271 81% 56%); }
/* Tailwind */
<div class="bg-purple-600 text-white">
/* SCSS variable */
$brand: #9333EA;
Frequently asked questions
What color is #9333EA?
#9333EA is a medium, vivid violet. Its hue sits at 271° on the color wheel, with 81% saturation and 56% lightness.
What is #9333EA in RGB?
#9333EA converts to rgb(147, 51, 234) — 147 red, 51 green and 234 blue.
What is #9333EA in CMYK?
Approximately cmyk(37%, 78%, 0%, 8%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #9333EA be white or black?
White gives the better contrast ratio (5.38:1 versus 3.90:1).
What is the complementary color of #9333EA?
#8CEA34 — the hue directly opposite #9333EA on the color wheel.