#E2DEF2#E2DEF2
#E2DEF2 is a very light, muted violet. Relative luminance 0.748; OKLCH L 91.0% C 0.027 H 295.0°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DEF2 |
|---|---|
| RGB | rgb(226, 222, 242) |
| HSL | hsl(252, 43%, 91%) |
| HSV | hsv(252, 8%, 95%) |
| CMYK | cmyk(6.6%, 8.3%, 0%, 5.1%) |
| CIE-LAB | lab(89.31, 5.04, -9.24) |
| CIE-LCH | lch(89.31, 10.53, 298.58°) |
| OKLab | oklab(90.97% 0.0116 -0.0248) |
| OKLCH | oklch(90.97% 0.027 295) |
| XYZ | xyz(73.5093, 74.8219, 94.5566) |
| Luminance | 0.7482 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 2.36
Ghostwhite
#F8F8FF
ΔE00 7.94
Lavenderblush
#FFF0F5
ΔE00 8.22
Fog
#D8DCE0
ΔE00 8.81
Gainsboro
#DCDCDC
ΔE00 9.46
Light Gray
#D3D3D3
ΔE00 9.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DEF2 #EEF2DE
analogous
#DEE4F2 #E2DEF2 #ECDEF2
triadic
#E2DEF2 #F2E2DE #DEF2E2
tetradic
#E2DEF2 #F2DEE4 #EEF2DE #DEF2EC
square
#E2DEF2 #F2DEE4 #EEF2DE #DEF2EC
split-complementary
#E2DEF2 #F2ECDE #E4F2DE
monochromatic
#9586CF #BBB2E1 #E2DEF2 #ECE9F6 #ECE9F6
Accessibility & contrast
On white
1.32
#E2DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.96
#E2DEF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DEF2
15.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DEF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DEF2 | 1.00 | 1.32 | 15.96 | 15.96 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAE1F3
Deuteranopia (green-blind)
#DBE0F1
Tritanopia (blue-blind)
#DFE1E4
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2def2; /* rgb */ color: rgb(226, 222, 242); /* oklch */ color: oklch(91.0% 0.027 295.0);
Tailwind
colors: {
custom: {
50: '#ebe8f6',
500: '#e2def2',
950: '#000000',
},
}SCSS
$custom: #e2def2; $custom-light: #ebe8f6; $custom-dark: #000000;
JSON
{
"hex": "#e2def2",
"rgb": {
"r": 226,
"g": 222,
"b": 242
},
"hsl": {
"h": 252,
"s": 43.478,
"l": 90.98
},
"oklch": {
"l": 0.90971,
"c": 0.02733,
"h": 295
},
"luminance": 0.74822
}Semantic roles & 50–950 ramp
primary
#E2DEF2
secondary
#C7CFA5
accent
#B72F9B
background
#FEFEFF
surface
#FDFCFE
border
#D5D5D6
text
#161617
muted
#848485