Lavender color (#E6E6FA)
#E6E6FA (Lavender) is a very light blue colour. It is rgb(230, 230, 250) in RGB and hsl(240, 67%, 94%) in HSL. Text in black reads better on it: the contrast is 17.06:1 against black and 1.23: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{#E6E6FA}:\quad R=\mathrm{E6}_{16}=230,\ G=\mathrm{E6}_{16}=230,\ B=\mathrm{FA}_{16}=250 - 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.
240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#FAFAE6} - 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{#E6E6FA} = \mathrm{rgb}(230, 230, 250) \]
\[ \mathrm{#E6E6FA}:\quad R=\mathrm{E6}_{16}=230,\ G=\mathrm{E6}_{16}=230,\ B=\mathrm{FA}_{16}=250 \]
\[ H=240^\circ,\quad S=67\%,\quad L=94\% \]
\[ 240^\circ + 180^\circ = 60^\circ ;\Rightarrow; \mathrm{#FAFAE6} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 1.23:1\ \text{(on white)} \]Lavender in every colour format
| Format | Value |
|---|---|
| HEX | #E6E6FA |
| RGB | rgb(230, 230, 250) |
| RGB (percent) | rgb(90.2%, 90.2%, 98.0%) |
| HSL | hsl(240, 67%, 94%) |
| HSV / HSB | hsv(240, 8%, 98%) |
| CMYK | cmyk(8%, 8%, 0%, 2%) |
| Decimal | 15132410 |
| Description | very light blue |
| CSS name | lavender |
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.23:1 | fail | fail | fail | fail |
| Black text | 17.06:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #26262A #4D4D53 #73737D #9999A7 #C0C0D0 |
| This colour | #E6E6FA |
| Tints (mixed with white) | #EAEAFB #EEEEFC #F3F3FD #F7F7FD #FBFBFE |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #E2E8FB | 2 |
| Deuteranopia | #E1E7F9 | 2 |
| Tritanopia | #E2E9EC | 9 |
| Grayscale | #E8E8E8 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Ghost white | #F8F8FF |
| Alice blue | #F0F8FF |
| Lavender blush | #FFF0F5 |
| Gainsboro | #DCDCDC |
Questions
What is the RGB value of #E6E6FA?
rgb(230, 230, 250): red 230, green 230, blue 250.
What is the HSL value of #E6E6FA?
hsl(240, 67%, 94%): a hue of 240°, 67% saturation and 94% lightness.
What is the complementary colour of #E6E6FA?
#FAFAE6, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #191905.
Should I use white or black text on #E6E6FA?
Black. White gives 1.23:1 and black 17.06:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #E6E6FA?
cmyk(8%, 8%, 0%, 2%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #E6E6FA a named colour?
Yes: it is the CSS colour name "lavender".