Lavender Color
HEX #E6E6FA · rgb(230, 230, 250) · hsl(240, 67%, 94%)
Lavender color codes
Lavender is one of the named colors every browser understands. In CSS you can write it as lavender or #E6E6FA.
| Format | Value | |
|---|---|---|
| HEX | #E6E6FA | |
| RGB | rgb(230, 230, 250) | |
| HSL | hsl(240, 67%, 94%) | |
| CMYK | 8%, 8%, 0%, 2% | |
| CSS name | lavender |
.example {
color: lavender;
background-color: #E6E6FA;
border-color: rgb(230, 230, 250);
}
Colors that go with lavender
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of lavender
Tints mix the color with white; shades mix it with black.
Lavender
Contrast and readability
17.06:1
passes AA and AAA
1.23:1
fails
Use black text on lavender. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for lavender?
The hex code for lavender is #E6E6FA.
What is the RGB value of lavender?
Lavender is rgb(230, 230, 250): 230 red, 230 green and 250 blue on a 0 to 255 scale.
What color goes with lavender?
Its complementary color is #FAFAE6, which is closest to the named color old lace. Analogous and triadic matches are listed on this page.
Should text on lavender be black or white?
Use black text. The contrast ratio is 17.06:1 with black and 1.23:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.