#ECEBF1#ECEBF1
#ECEBF1 is a very light, near-neutral violet. Relative luminance 0.836; OKLCH L 94.3% C 0.008 H 293.9°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).
Color values
| HEX | #ECEBF1 |
|---|---|
| RGB | rgb(236, 235, 241) |
| HSL | hsl(250, 18%, 93%) |
| HSV | hsv(250, 2%, 95%) |
| CMYK | cmyk(2.1%, 2.5%, 0%, 5.5%) |
| CIE-LAB | lab(93.28, 1.41, -2.78) |
| CIE-LCH | lch(93.28, 3.12, 296.88°) |
| OKLab | oklab(94.26% 0.0033 -0.0074) |
| OKLCH | oklch(94.26% 0.008 293.9) |
| XYZ | xyz(80.1748, 83.6003, 95.1147) |
| Luminance | 0.8360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ghostwhite
#F8F8FF
ΔE00 2.73
Whitesmoke
#F5F5F5
ΔE00 3.78
Snow
#FFFAFA
ΔE00 4.49
Pale Grey
#FDFDFE
ΔE00 4.49
Fog
#D8DCE0
ΔE00 4.63
Gainsboro
#DCDCDC
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECEBF1 #F0F1EB
analogous
#EBEDF1 #ECEBF1 #EFEBF1
triadic
#ECEBF1 #F1ECEB #EBF1EC
tetradic
#ECEBF1 #F1EBED #F0F1EB #EBF1EF
square
#ECEBF1 #F1EBED #F0F1EB #EBF1EF
split-complementary
#ECEBF1 #F1EFEB #EDF1EB
monochromatic
#A8A3BF #CAC7D8 #ECEBF1 #EEEDF2 #EEEDF2
Accessibility & contrast
On white
1.19
#ECEBF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.72
#ECEBF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECEBF1
17.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECEBF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECEBF1 | 1.00 | 1.19 | 17.72 | 17.72 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAECF1
Deuteranopia (green-blind)
#EAECF1
Tritanopia (blue-blind)
#EBECED
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ecebf1; /* rgb */ color: rgb(236, 235, 241); /* oklch */ color: oklch(94.3% 0.008 293.9);
Tailwind
colors: {
custom: {
50: '#f2f1f5',
500: '#ecebf1',
950: '#000000',
},
}SCSS
$custom: #ecebf1; $custom-light: #f2f1f5; $custom-dark: #000000;
JSON
{
"hex": "#ecebf1",
"rgb": {
"r": 236,
"g": 235,
"b": 241
},
"hsl": {
"h": 250,
"s": 17.647,
"l": 93.333
},
"oklch": {
"l": 0.94256,
"c": 0.00807,
"h": 293.9
},
"luminance": 0.836
}Semantic roles & 50–950 ramp
primary
#ECEBF1
secondary
#C5C8B8
accent
#9C4A8E
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#161617
muted
#858585