#9933EE color
#9933EE is a purple colour. It is rgb(153, 51, 238) in RGB and hsl(273, 85%, 57%) in HSL. Text in white reads better on it: the contrast is 5.17:1 against white and 4.06:1 against black.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#9933EE}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{EE}_{16}=238 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
273^\circ + 180^\circ = 93^\circ ;\Rightarrow; \mathrm{#88EE33} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#9933EE} = \mathrm{rgb}(153, 51, 238) \]
\[ \mathrm{#9933EE}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{EE}_{16}=238 \]
\[ H=273^\circ,\quad S=85\%,\quad L=57\% \]
\[ 273^\circ + 180^\circ = 93^\circ ;\Rightarrow; \mathrm{#88EE33} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.17:1\ \text{(on white)} \]#9933EE in every colour format
| Format | Value |
|---|---|
| HEX | #9933EE |
| RGB | rgb(153, 51, 238) |
| RGB (percent) | rgb(60.0%, 20.0%, 93.3%) |
| HSL | hsl(273, 85%, 57%) |
| HSV / HSB | hsv(273, 79%, 93%) |
| CMYK | cmyk(36%, 79%, 0%, 7%) |
| Decimal | 10040302 |
| Description | purple |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 5.17:1 | pass | pass | fail | pass |
| Black text | 4.06:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #190828 #33114F #4D1A77 #66229F #802BC6 |
| This colour | #9933EE |
| Tints (mixed with white) | #AA55F1 #BB77F4 #CC99F7 #DDBBF9 #EEDDFC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #006BF3 | 45 |
| Deuteranopia | #006DEA | 49 |
| Tritanopia | #886691 | 76 |
| Grayscale | #6D6D6D | - |
Nearest named colours
| Name | Hex |
|---|---|
| Blue violet | #8A2BE2 |
| Dark violet | #9400D3 |
| Dark orchid | #9932CC |
| Medium blue | #0000CD |
Questions
What is the RGB value of #9933EE?
rgb(153, 51, 238): red 153, green 51, blue 238.
What is the HSL value of #9933EE?
hsl(273, 85%, 57%): a hue of 273°, 85% saturation and 57% lightness.
What is the complementary colour of #9933EE?
#88EE33, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #66CC11.
Should I use white or black text on #9933EE?
White. White gives 5.17:1 and black 4.06:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #9933EE?
cmyk(36%, 79%, 0%, 7%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #9933EE?
Blue violet (#8A2BE2).