#9933BB color
#9933BB is a purple colour. It is rgb(153, 51, 187) in RGB and hsl(285, 57%, 47%) in HSL. Text in white reads better on it: the contrast is 5.92:1 against white and 3.55: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{#9933BB}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{BB}_{16}=187 - 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.
285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#55BB33} - 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{#9933BB} = \mathrm{rgb}(153, 51, 187) \]
\[ \mathrm{#9933BB}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{33}_{16}=51,\ B=\mathrm{BB}_{16}=187 \]
\[ H=285^\circ,\quad S=57\%,\quad L=47\% \]
\[ 285^\circ + 180^\circ = 105^\circ ;\Rightarrow; \mathrm{#55BB33} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 5.92:1\ \text{(on white)} \]#9933BB in every colour format
| Format | Value |
|---|---|
| HEX | #9933BB |
| RGB | rgb(153, 51, 187) |
| RGB (percent) | rgb(60.0%, 20.0%, 73.3%) |
| HSL | hsl(285, 57%, 47%) |
| HSV / HSB | hsv(285, 73%, 73%) |
| CMYK | cmyk(18%, 73%, 0%, 27%) |
| Decimal | 10040251 |
| 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.92:1 | pass | pass | fail | pass |
| Black text | 3.55:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #19081F #33113E #4D1A5E #66227D #802B9C |
| This colour | #9933BB |
| Tints (mixed with white) | #AA55C6 #BB77D2 #CC99DD #DDBBE8 #EEDDF4 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #005EBF | 46 |
| Deuteranopia | #3267B8 | 51 |
| Tritanopia | #974F74 | 52 |
| Grayscale | #646464 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark orchid | #9932CC |
| Medium orchid | #BA55D3 |
| Dark magenta | #8B008B |
| Purple | #800080 |
Questions
What is the RGB value of #9933BB?
rgb(153, 51, 187): red 153, green 51, blue 187.
What is the HSL value of #9933BB?
hsl(285, 57%, 47%): a hue of 285°, 57% saturation and 47% lightness.
What is the complementary colour of #9933BB?
#55BB33, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #66CC44.
Should I use white or black text on #9933BB?
White. White gives 5.92:1 and black 3.55:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #9933BB?
cmyk(18%, 73%, 0%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #9933BB?
Dark orchid (#9932CC).