#E2C8FF#E2C8FF
#E2C8FF is a very light, moderate violet. Relative luminance 0.647; OKLCH L 87.2% C 0.080 H 306.3°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E2C8FF |
|---|---|
| RGB | rgb(226, 200, 255) |
| HSL | hsl(268, 100%, 89%) |
| HSV | hsv(268, 22%, 100%) |
| CMYK | cmyk(11.4%, 21.6%, 0%, 0%) |
| CIE-LAB | lab(84.33, 19.23, -23.60) |
| CIE-LCH | lch(84.33, 30.44, 309.17°) |
| OKLab | oklab(87.23% 0.0471 -0.0641) |
| OKLCH | oklch(87.23% 0.08 306.3) |
| XYZ | xyz(70.0650, 64.6976, 103.3851) |
| Luminance | 0.6470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Lavender
#DFC5FE
ΔE00 0.85
Pale Lilac
#E4CBFF
ΔE00 0.94
Light Lilac
#EDC8FF
ΔE00 2.74
Pale Lavender
#EECFFE
ΔE00 3.31
Light Lavendar
#EFC0FE
ΔE00 4.50
Very Light Purple
#F6CEFC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2C8FF #E5FFC8
analogous
#C8CAFF #E2C8FF #FEC8FF
triadic
#E2C8FF #FFE2C8 #C8FFE2
tetradic
#E2C8FF #FFC8CA #E5FFC8 #C8FFFE
square
#E2C8FF #FFC8CA #E5FFC8 #C8FFFE
split-complementary
#E2C8FF #FFFEC8 #CAFFC8
monochromatic
#A14EFF #C28BFF #E2C8FF #EFE0FF #EFE0FF
Accessibility & contrast
On white
1.51
#E2C8FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.94
#E2C8FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2C8FF
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2C8FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2C8FF | 1.00 | 1.51 | 13.94 | 13.94 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFD1FF
Deuteranopia (green-blind)
#C3D3FD
Tritanopia (blue-blind)
#DECFDB
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2c8ff; /* rgb */ color: rgb(226, 200, 255); /* oklch */ color: oklch(87.2% 0.080 306.3);
Tailwind
colors: {
custom: {
50: '#ebd8ff',
500: '#e2c8ff',
950: '#000000',
},
}SCSS
$custom: #e2c8ff; $custom-light: #ebd8ff; $custom-dark: #000000;
JSON
{
"hex": "#e2c8ff",
"rgb": {
"r": 226,
"g": 200,
"b": 255
},
"hsl": {
"h": 268.364,
"s": 100,
"l": 89.216
},
"oklch": {
"l": 0.87228,
"c": 0.07955,
"h": 306.3
},
"luminance": 0.64697
}Semantic roles & 50–950 ramp
primary
#E2C8FF
secondary
#B8E982
accent
#E60079
background
#FEFEFF
surface
#FDFBFF
border
#D5D4D7
text
#161418
muted
#848386