#CCBBEE color
#CCBBEE is a light purple colour. It is rgb(204, 187, 238) in RGB and hsl(260, 60%, 83%) in HSL. Text in black reads better on it: the contrast is 11.91:1 against black and 1.76:1 against white.
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{#CCBBEE}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{BB}_{16}=187,\ 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.
260^\circ + 180^\circ = 80^\circ ;\Rightarrow; \mathrm{#DDEEBB} - 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{#CCBBEE} = \mathrm{rgb}(204, 187, 238) \]
\[ \mathrm{#CCBBEE}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{BB}_{16}=187,\ B=\mathrm{EE}_{16}=238 \]
\[ H=260^\circ,\quad S=60\%,\quad L=83\% \]
\[ 260^\circ + 180^\circ = 80^\circ ;\Rightarrow; \mathrm{#DDEEBB} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.76:1\ \text{(on white)} \]#CCBBEE in every colour format
| Format | Value |
|---|---|
| HEX | #CCBBEE |
| RGB | rgb(204, 187, 238) |
| RGB (percent) | rgb(80.0%, 73.3%, 93.3%) |
| HSL | hsl(260, 60%, 83%) |
| HSV / HSB | hsv(260, 21%, 93%) |
| CMYK | cmyk(14%, 21%, 0%, 7%) |
| Decimal | 13417454 |
| Description | light 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 | 1.76:1 | fail | fail | fail | fail |
| Black text | 11.91:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #221F28 #443E4F #665E77 #887D9F #AA9CC6 |
| This colour | #CCBBEE |
| Tints (mixed with white) | #D5C6F1 #DDD2F4 #E6DDF7 #EEE8F9 #F7F4FC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #B1C3F0 | 12 |
| Deuteranopia | #B4C3EC | 12 |
| Tritanopia | #C6C2CC | 22 |
| Grayscale | #C3C3C3 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Thistle | #D8BFD8 |
| Plum | #DDA0DD |
| Light steel blue | #B0C4DE |
| Lavender | #E6E6FA |
Questions
What is the RGB value of #CCBBEE?
rgb(204, 187, 238): red 204, green 187, blue 238.
What is the HSL value of #CCBBEE?
hsl(260, 60%, 83%): a hue of 260°, 60% saturation and 83% lightness.
What is the complementary colour of #CCBBEE?
#DDEEBB, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #334411.
Should I use white or black text on #CCBBEE?
Black. White gives 1.76:1 and black 11.91:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #CCBBEE?
cmyk(14%, 21%, 0%, 7%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #CCBBEE?
Thistle (#D8BFD8).