#E2CCF2#E2CCF2
#E2CCF2 is a very light, muted violet. Relative luminance 0.658; OKLCH L 87.5% C 0.057 H 311.0°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CCF2 |
|---|---|
| RGB | rgb(226, 204, 242) |
| HSL | hsl(275, 59%, 87%) |
| HSV | hsv(275, 16%, 95%) |
| CMYK | cmyk(6.6%, 15.7%, 0%, 5.1%) |
| CIE-LAB | lab(84.88, 14.52, -15.87) |
| CIE-LCH | lch(84.88, 21.51, 312.46°) |
| OKLab | oklab(87.52% 0.0372 -0.0427) |
| OKLCH | oklch(87.52% 0.057 311) |
| XYZ | xyz(68.9812, 65.7657, 93.0472) |
| Luminance | 0.6576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Lavender
#EECFFE
ΔE00 3.20
Pale Lilac
#E4CBFF
ΔE00 3.66
Very Light Purple
#F6CEFC
ΔE00 4.73
Light Lilac
#EDC8FF
ΔE00 4.90
Light Lavender
#DFC5FE
ΔE00 4.99
Thistle
#D8BFD8
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CCF2 #DCF2CC
analogous
#CFCCF2 #E2CCF2 #F2CCEF
triadic
#E2CCF2 #F2E2CC #CCF2E2
tetradic
#E2CCF2 #F2CFCC #DCF2CC #CCEFF2
square
#E2CCF2 #F2CFCC #DCF2CC #CCEFF2
split-complementary
#E2CCF2 #EFF2CC #CCF2CF
monochromatic
#AB6AD9 #C69BE6 #E2CCF2 #F1E7F9 #F1E7F9
Accessibility & contrast
On white
1.48
#E2CCF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.15
#E2CCF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CCF2
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CCF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CCF2 | 1.00 | 1.48 | 14.15 | 14.15 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7D3F4
Deuteranopia (green-blind)
#CBD4F1
Tritanopia (blue-blind)
#E1D0D9
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2ccf2; /* rgb */ color: rgb(226, 204, 242); /* oklch */ color: oklch(87.5% 0.057 311.0);
Tailwind
colors: {
custom: {
50: '#ebdbf6',
500: '#e2ccf2',
950: '#000000',
},
}SCSS
$custom: #e2ccf2; $custom-light: #ebdbf6; $custom-dark: #000000;
JSON
{
"hex": "#e2ccf2",
"rgb": {
"r": 226,
"g": 204,
"b": 242
},
"hsl": {
"h": 274.737,
"s": 59.375,
"l": 87.451
},
"oklch": {
"l": 0.87516,
"c": 0.05664,
"h": 311
},
"luminance": 0.65765
}Semantic roles & 50–950 ramp
primary
#E2CCF2
secondary
#ACD191
accent
#C71E65
background
#FEFEFF
surface
#FDFBFE
border
#D5D4D6
text
#161517
muted
#848485