#E4DEF2#E4DEF2
#E4DEF2 is a very light, muted violet. Relative luminance 0.751; OKLCH L 91.1% C 0.028 H 299.5°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E4DEF2 |
|---|---|
| RGB | rgb(228, 222, 242) |
| HSL | hsl(258, 43%, 91%) |
| HSV | hsv(258, 8%, 95%) |
| CMYK | cmyk(5.8%, 8.3%, 0%, 5.1%) |
| CIE-LAB | lab(89.46, 5.69, -9.00) |
| CIE-LCH | lch(89.46, 10.65, 302.29°) |
| OKLab | oklab(91.13% 0.0136 -0.0241) |
| OKLCH | oklch(91.13% 0.028 299.5) |
| XYZ | xyz(74.1403, 75.1473, 94.5862) |
| Luminance | 0.7515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 2.98
Lavenderblush
#FFF0F5
ΔE00 7.84
Ghostwhite
#F8F8FF
ΔE00 8.18
Fog
#D8DCE0
ΔE00 9.32
Thistle
#D8BFD8
ΔE00 9.34
Gainsboro
#DCDCDC
ΔE00 9.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4DEF2 #ECF2DE
analogous
#DEE2F2 #E4DEF2 #EEDEF2
triadic
#E4DEF2 #F2E4DE #DEF2E4
tetradic
#E4DEF2 #F2DEE2 #ECF2DE #DEF2EE
square
#E4DEF2 #F2DEE2 #ECF2DE #DEF2EE
split-complementary
#E4DEF2 #F2EEDE #E2F2DE
monochromatic
#9C86CF #C0B2E1 #E4DEF2 #EDE9F6 #EDE9F6
Accessibility & contrast
On white
1.31
#E4DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.03
#E4DEF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4DEF2
16.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4DEF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4DEF2 | 1.00 | 1.31 | 16.03 | 16.03 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBE1F3
Deuteranopia (green-blind)
#DBE1F1
Tritanopia (blue-blind)
#E2E1E4
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e4def2; /* rgb */ color: rgb(228, 222, 242); /* oklch */ color: oklch(91.1% 0.028 299.5);
Tailwind
colors: {
custom: {
50: '#ece8f6',
500: '#e4def2',
950: '#000000',
},
}SCSS
$custom: #e4def2; $custom-light: #ece8f6; $custom-dark: #000000;
JSON
{
"hex": "#e4def2",
"rgb": {
"r": 228,
"g": 222,
"b": 242
},
"hsl": {
"h": 258,
"s": 43.478,
"l": 90.98
},
"oklch": {
"l": 0.91127,
"c": 0.02768,
"h": 299.5
},
"luminance": 0.75147
}Semantic roles & 50–950 ramp
primary
#E4DEF2
secondary
#C2CFA5
accent
#B72F8E
background
#FEFEFF
surface
#FDFCFE
border
#D5D5D6
text
#161617
muted
#848485