#E8DFF2#E8DFF2
#E8DFF2 is a very light, muted violet. Relative luminance 0.763; OKLCH L 91.6% C 0.027 H 307.0°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E8DFF2 |
|---|---|
| RGB | rgb(232, 223, 242) |
| HSL | hsl(268, 42%, 91%) |
| HSV | hsv(268, 8%, 95%) |
| CMYK | cmyk(4.1%, 7.9%, 0%, 5.1%) |
| CIE-LAB | lab(90.02, 6.48, -8.14) |
| CIE-LCH | lch(90.02, 10.41, 308.50°) |
| OKLab | oklab(91.64% 0.0164 -0.0217) |
| OKLCH | oklch(91.64% 0.027 307) |
| XYZ | xyz(75.6906, 76.3421, 94.7352) |
| Luminance | 0.7634 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 3.94
Lavenderblush
#FFF0F5
ΔE00 7.00
Ghostwhite
#F8F8FF
ΔE00 8.28
Thistle
#D8BFD8
ΔE00 8.87
Fog
#D8DCE0
ΔE00 9.88
Gainsboro
#DCDCDC
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8DFF2 #E9F2DF
analogous
#DFDFF2 #E8DFF2 #F1DFF2
triadic
#E8DFF2 #F2E8DF #DFF2E8
tetradic
#E8DFF2 #F2DFDF #E9F2DF #DFF2F1
square
#E8DFF2 #F2DFDF #E9F2DF #DFF2F1
split-complementary
#E8DFF2 #F2F1DF #DFF2DF
monochromatic
#A988CF #C9B3E0 #E8DFF2 #EFE9F6 #EFE9F6
Accessibility & contrast
On white
1.29
#E8DFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.27
#E8DFF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8DFF2
16.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8DFF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8DFF2 | 1.00 | 1.29 | 16.27 | 16.27 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCE2F3
Deuteranopia (green-blind)
#DEE3F1
Tritanopia (blue-blind)
#E7E1E5
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #e8dff2; /* rgb */ color: rgb(232, 223, 242); /* oklch */ color: oklch(91.6% 0.027 307.0);
Tailwind
colors: {
custom: {
50: '#efe9f6',
500: '#e8dff2',
950: '#000000',
},
}SCSS
$custom: #e8dff2; $custom-light: #efe9f6; $custom-dark: #000000;
JSON
{
"hex": "#e8dff2",
"rgb": {
"r": 232,
"g": 223,
"b": 242
},
"hsl": {
"h": 268.421,
"s": 42.222,
"l": 91.176
},
"oklch": {
"l": 0.91637,
"c": 0.02724,
"h": 307
},
"luminance": 0.76342
}Semantic roles & 50–950 ramp
primary
#E8DFF2
secondary
#BCCFA6
accent
#B53076
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161617
muted
#858485