#ECDEF7#ECDEF7
#ECDEF7 is a very light, muted violet. Relative luminance 0.768; OKLCH L 91.9% C 0.037 H 310.5°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).
Color values
| HEX | #ECDEF7 |
|---|---|
| RGB | rgb(236, 222, 247) |
| HSL | hsl(274, 61%, 92%) |
| HSV | hsv(274, 10%, 97%) |
| CMYK | cmyk(4.5%, 10.1%, 0%, 3.1%) |
| CIE-LAB | lab(90.23, 9.25, -10.42) |
| CIE-LCH | lch(90.23, 13.93, 311.57°) |
| OKLab | oklab(91.92% 0.0238 -0.0279) |
| OKLCH | oklch(91.92% 0.037 310.5) |
| XYZ | xyz(77.4990, 76.7911, 98.7170) |
| Luminance | 0.7679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 6.05
Thistle
#D8BFD8
ΔE00 7.63
Pale Lavender
#EECFFE
ΔE00 7.72
Lavenderblush
#FFF0F5
ΔE00 8.47
Pale Lilac
#E4CBFF
ΔE00 8.56
Very Light Purple
#F6CEFC
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECDEF7 #E9F7DE
analogous
#E0DEF7 #ECDEF7 #F7DEF6
triadic
#ECDEF7 #F7ECDE #DEF7EC
tetradic
#ECDEF7 #F7E0DE #E9F7DE #DEF6F7
square
#ECDEF7 #F7E0DE #E9F7DE #DEF6F7
split-complementary
#ECDEF7 #F6F7DE #DEF7E0
monochromatic
#B37BDF #D0ADEB #ECDEF7 #F1E6F9 #F1E6F9
Accessibility & contrast
On white
1.28
#ECDEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.36
#ECDEF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECDEF7
16.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECDEF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECDEF7 | 1.00 | 1.28 | 16.36 | 16.36 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBE2F8
Deuteranopia (green-blind)
#DDE3F6
Tritanopia (blue-blind)
#EBE1E6
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #ecdef7; /* rgb */ color: rgb(236, 222, 247); /* oklch */ color: oklch(91.9% 0.037 310.5);
Tailwind
colors: {
custom: {
50: '#f2e8f9',
500: '#ecdef7',
950: '#000000',
},
}SCSS
$custom: #ecdef7; $custom-light: #f2e8f9; $custom-dark: #000000;
JSON
{
"hex": "#ecdef7",
"rgb": {
"r": 236,
"g": 222,
"b": 247
},
"hsl": {
"h": 273.6,
"s": 60.976,
"l": 91.961
},
"oklch": {
"l": 0.91922,
"c": 0.03665,
"h": 310.5
},
"luminance": 0.76791
}Semantic roles & 50–950 ramp
primary
#ECDEF7
secondary
#B9D9A0
accent
#C91D68
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485