#CE8FF2#CE8FF2
#CE8FF2 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.8% C 0.152 H 312.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CE8FF2 |
|---|---|
| RGB | rgb(206, 143, 242) |
| HSL | hsl(278, 79%, 75%) |
| HSV | hsv(278, 41%, 95%) |
| CMYK | cmyk(14.9%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(68.88, 41.23, -40.55) |
| CIE-LCH | lch(68.88, 57.83, 315.48°) |
| OKLab | oklab(74.84% 0.1025 -0.1122) |
| OKLCH | oklch(74.84% 0.152 312.4) |
| XYZ | xyz(51.3003, 39.1785, 88.8469) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.35
Liliac
#C48EFD
ΔE00 3.35
Lavender (survey)
#C79FEF
ΔE00 4.79
Lilac (survey)
#CEA2FD
ΔE00 4.90
Pastel Purple
#CAA0FF
ΔE00 4.91
Pale Purple
#B790D4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CE8FF2 #B3F28F
analogous
#9C8FF2 #CE8FF2 #F28FE4
triadic
#CE8FF2 #F2CE8F #8FF2CE
tetradic
#CE8FF2 #F29C8F #B3F28F #8FE4F2
square
#CE8FF2 #F29C8F #B3F28F #8FE4F2
split-complementary
#CE8FF2 #E4F28F #8FF29C
monochromatic
#9E21E5 #B658EC #CE8FF2 #E6C6F8 #F3E4FC
Accessibility & contrast
On white
2.38
#CE8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#CE8FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CE8FF2
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CE8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CE8FF2 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#CB9DB5
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ce8ff2; /* rgb */ color: rgb(206, 143, 242); /* oklch */ color: oklch(74.8% 0.152 312.4);
Tailwind
colors: {
custom: {
50: '#deb1f6',
500: '#ce8ff2',
950: '#000000',
},
}SCSS
$custom: #ce8ff2; $custom-light: #deb1f6; $custom-dark: #000000;
JSON
{
"hex": "#ce8ff2",
"rgb": {
"r": 206,
"g": 143,
"b": 242
},
"hsl": {
"h": 278.182,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.74843,
"c": 0.15199,
"h": 312.4
},
"luminance": 0.39178
}Semantic roles & 50–950 ramp
primary
#CE8FF2
secondary
#E2F4D7
accent
#DB0A56
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085