#E7DEF2#E7DEF2
#E7DEF2 is a very light, muted violet. Relative luminance 0.756; OKLCH L 91.4% C 0.029 H 306.0°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).
Color values
| HEX | #E7DEF2 |
|---|---|
| RGB | rgb(231, 222, 242) |
| HSL | hsl(267, 43%, 91%) |
| HSV | hsv(267, 8%, 95%) |
| CMYK | cmyk(4.5%, 8.3%, 0%, 5.1%) |
| CIE-LAB | lab(89.69, 6.67, -8.63) |
| CIE-LCH | lch(89.69, 10.91, 307.69°) |
| OKLab | oklab(91.37% 0.0168 -0.0231) |
| OKLCH | oklch(91.37% 0.029 306) |
| XYZ | xyz(75.1005, 75.6424, 94.6312) |
| Luminance | 0.7564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 4.02
Lavenderblush
#FFF0F5
ΔE00 7.39
Thistle
#D8BFD8
ΔE00 8.63
Ghostwhite
#F8F8FF
ΔE00 8.64
Pale Lavender
#EECFFE
ΔE00 9.99
Fog
#D8DCE0
ΔE00 10.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7DEF2 #E9F2DE
analogous
#DEDFF2 #E7DEF2 #F1DEF2
triadic
#E7DEF2 #F2E7DE #DEF2E7
tetradic
#E7DEF2 #F2DEDF #E9F2DE #DEF2F1
square
#E7DEF2 #F2DEDF #E9F2DE #DEF2F1
split-complementary
#E7DEF2 #F2F1DE #DFF2DE
monochromatic
#A786CF #C7B2E1 #E7DEF2 #EFE9F6 #EFE9F6
Accessibility & contrast
On white
1.30
#E7DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.13
#E7DEF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7DEF2
16.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7DEF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7DEF2 | 1.00 | 1.30 | 16.13 | 16.13 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBE1F3
Deuteranopia (green-blind)
#DDE2F1
Tritanopia (blue-blind)
#E6E0E4
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e7def2; /* rgb */ color: rgb(231, 222, 242); /* oklch */ color: oklch(91.4% 0.029 306.0);
Tailwind
colors: {
custom: {
50: '#eee8f6',
500: '#e7def2',
950: '#000000',
},
}SCSS
$custom: #e7def2; $custom-light: #eee8f6; $custom-dark: #000000;
JSON
{
"hex": "#e7def2",
"rgb": {
"r": 231,
"g": 222,
"b": 242
},
"hsl": {
"h": 267,
"s": 43.478,
"l": 90.98
},
"oklch": {
"l": 0.91365,
"c": 0.02853,
"h": 306
},
"luminance": 0.75642
}Semantic roles & 50–950 ramp
primary
#E7DEF2
secondary
#BCCFA5
accent
#B72F7A
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161617
muted
#858485