#9922BB color
#9922BB is a purple colour. It is rgb(153, 34, 187) in RGB and hsl(287, 69%, 43%) in HSL. Text in white reads better on it: the contrast is 6.36:1 against white and 3.30: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{#9922BB}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{22}_{16}=34,\ 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.
287^\circ + 180^\circ = 107^\circ ;\Rightarrow; \mathrm{#44BB22} - 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{#9922BB} = \mathrm{rgb}(153, 34, 187) \]
\[ \mathrm{#9922BB}:\quad R=\mathrm{99}_{16}=153,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{BB}_{16}=187 \]
\[ H=287^\circ,\quad S=69\%,\quad L=43\% \]
\[ 287^\circ + 180^\circ = 107^\circ ;\Rightarrow; \mathrm{#44BB22} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.36:1\ \text{(on white)} \]#9922BB in every colour format
| Format | Value |
|---|---|
| HEX | #9922BB |
| RGB | rgb(153, 34, 187) |
| RGB (percent) | rgb(60.0%, 13.3%, 73.3%) |
| HSL | hsl(287, 69%, 43%) |
| HSV / HSB | hsv(287, 82%, 73%) |
| CMYK | cmyk(18%, 82%, 0%, 27%) |
| Decimal | 10035899 |
| 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 | 6.36:1 | pass | pass | fail | pass |
| Black text | 3.30:1 | fail | pass | fail | fail |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #19061F #330B3E #4D115E #66177D #801C9C |
| This colour | #9922BB |
| Tints (mixed with white) | #AA47C6 #BB6CD2 #CC91DD #DDB5E8 #EEDAF4 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #0058BF | 48 |
| Deuteranopia | #2463B8 | 56 |
| Tritanopia | #974771 | 55 |
| Grayscale | #5F5F5F | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark orchid | #9932CC |
| Medium orchid | #BA55D3 |
| Dark violet | #9400D3 |
| Dark magenta | #8B008B |
Questions
What is the RGB value of #9922BB?
rgb(153, 34, 187): red 153, green 34, blue 187.
What is the HSL value of #9922BB?
hsl(287, 69%, 43%): a hue of 287°, 69% saturation and 43% lightness.
What is the complementary colour of #9922BB?
#44BB22, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #66DD44.
Should I use white or black text on #9922BB?
White. White gives 6.36:1 and black 3.30:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #9922BB?
cmyk(18%, 82%, 0%, 27%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #9922BB?
Dark orchid (#9932CC).