Lavender color: hex codes, shades and palettes
Palettes built around lavender. Click any swatch to copy its hex code.
Lavender is #E6E6FA, pale blue. Below are its shades with hex codes, the values in every common format, and lavender color palettes to copy.
Lavender hex, RGB, HSL and OKLCH
- HEX
#E6E6FA- RGB
rgb(230, 230, 250)- HSL
hsl(240, 67%, 94%)- OKLCH
oklch(93.1% 0.027 285.9)- On white
- 1.23:1
- On black
- 17.06:1
Shades of lavender
9 steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.
Lavender color values
| RGB | 230 | 230 | 250 | |
|---|---|---|---|---|
| HSL | 240° | 67% | 94% | |
| HSV | 240° | 8% | 98% | |
| CMYK | 0.08 | 0.08 | 0.00 | 0.02 |
| XYZ | 78.1819 | 80.3183 | 101.8081 | |
| Yxy | 80.3183 | 0.3003 | 0.3086 | |
| CIE-Lab | 91.8275 | 3.7078 | -9.6613 | |
| Hunter Lab | 89.6205 | -1.1186 | -4.6185 | |
| OKLCH | 93.1% | 0.027 | 285.9° |
#E6E6FA is 230 red, 230 green and 250 blue. Its blue channel carries the most of it. The nearest of the 216 web safe colors is #FFFFFF.
CIE-Lab, XYZ and Yxy are measured against D65, the white point sRGB itself is defined against. Hunter Lab uses the original illuminant C constants, which is what paint and plastics specifications quote, so the two Lab rows are not directly comparable. CMYK is the plain arithmetic conversion: real ink values depend on the press, the paper and the profile.
| Base | Red | Green | Blue |
|---|---|---|---|
| Binary | 11100110 | 11100110 | 11111010 |
| Octal | 346 | 346 | 372 |
| Decimal | 230 | 230 | 250 |
| Hex | E6 | E6 | FA |
#e6e6fa mixed with black
Ten even steps of the classic shade ramp, worked out in RGB, which is how the term has always been defined and how other references list it. The OKLCH scale further down this page answers a different question: it steps by equal perceived amounts, so its values are not the same.
- #E6E6FA
- #CFCFE1
- #B8B8C8
- #A1A1AF
- #8A8A96
- #73737D
- #5C5C64
- #45454B
- #2D2D31
- #161618
- #000000
#e6e6fa mixed with white
The tint ramp, by the same rule in the other direction.
- #E6E6FA
- #E8E8FA
- #EBEBFB
- #EDEDFB
- #F0F0FC
- #F2F2FC
- #F5F5FD
- #F7F7FD
- #FAFAFE
- #FCFCFE
- #FFFFFF
Channel shares
Color schemes
Turned in OKLCH rather than HSL, so every member keeps the lightness and chroma of the original instead of one of them arriving washed out.
Complementary
- #E6E6FA
- #EAEAD5
Triadic
- #E6E6FA
- #F9E3D9
- #D8EEE4
Analogous
- #E6E6FA
- #EFE3F5
- #DDE9FB
Monochromatic
- #767687
- #9A9AAC
- #BFBFD2
- #E6E6FA
- #F8F8FF
- #F8F8FF
- #F8F8FF
#e6e6fa on black and on white
The quick brown fox jumps over the lazy dog. 17.06:1
The quick brown fox jumps over the lazy dog. 1.23:1
Body text needs 4.5:1 to meet AA and large text needs 3:1, so a ratio tells you which of the two backgrounds this color can be read on, and at what size.
CSS for #e6e6fa
color: #e6e6fa;
background-color: #e6e6fa;
border: 3px solid #e6e6fa;
box-shadow: 1px 1px 3px 2px #e6e6fa;
text-shadow: 4px 4px 2px rgba(230, 230, 250, 0.8);
/* Perceptually even, and what a modern stylesheet wants */
color: oklch(93.1% 0.027 285.9);The OKLCH form is the same color stated so that lightening or darkening it moves by an amount the eye agrees with. Every current browser understands it.
Contrast and readability
Lavender on white measures 1.23:1 and on black 17.06:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.31:1.
The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.
Related colors: purple, violet, lilac, plum, indigo, eggplant. See every shade on the colors index.
No lavender palettes yet
Run npm run generate to build the dataset.