#BBAAEE color
#BBAAEE is a light purple colour. It is rgb(187, 170, 238) in RGB and hsl(255, 67%, 80%) in HSL. Text in black reads better on it: the contrast is 10.10:1 against black and 2.08: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{#BBAAEE}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{AA}_{16}=170,\ 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.
255^\circ + 180^\circ = 75^\circ ;\Rightarrow; \mathrm{#DDEEAA} - 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{#BBAAEE} = \mathrm{rgb}(187, 170, 238) \]
\[ \mathrm{#BBAAEE}:\quad R=\mathrm{BB}_{16}=187,\ G=\mathrm{AA}_{16}=170,\ B=\mathrm{EE}_{16}=238 \]
\[ H=255^\circ,\quad S=67\%,\quad L=80\% \]
\[ 255^\circ + 180^\circ = 75^\circ ;\Rightarrow; \mathrm{#DDEEAA} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.08:1\ \text{(on white)} \]#BBAAEE in every colour format
| Format | Value |
|---|---|
| HEX | #BBAAEE |
| RGB | rgb(187, 170, 238) |
| RGB (percent) | rgb(73.3%, 66.7%, 93.3%) |
| HSL | hsl(255, 67%, 80%) |
| HSV / HSB | hsv(255, 29%, 93%) |
| CMYK | cmyk(21%, 29%, 0%, 7%) |
| Decimal | 12298990 |
| 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 | 2.08:1 | fail | fail | fail | fail |
| Black text | 10.10:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F1C28 #3E394F #5E5577 #7D719F #9C8EC6 |
| This colour | #BBAAEE |
| Tints (mixed with white) | #C6B8F1 #D2C6F4 #DDD5F7 #E8E3F9 #F4F1FC |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #9AB4F1 | 14 |
| Deuteranopia | #9CB3EC | 14 |
| Tritanopia | #B1B5C2 | 31 |
| Grayscale | #B4B4B4 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Plum | #DDA0DD |
| Cornflower blue | #6495ED |
| Thistle | #D8BFD8 |
| Light steel blue | #B0C4DE |
Questions
What is the RGB value of #BBAAEE?
rgb(187, 170, 238): red 187, green 170, blue 238.
What is the HSL value of #BBAAEE?
hsl(255, 67%, 80%): a hue of 255°, 67% saturation and 80% lightness.
What is the complementary colour of #BBAAEE?
#DDEEAA, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #445511.
Should I use white or black text on #BBAAEE?
Black. White gives 2.08:1 and black 10.10:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BBAAEE?
cmyk(21%, 29%, 0%, 7%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #BBAAEE?
Plum (#DDA0DD).