#CEA2FB#CEA2FB
#CEA2FB is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.131 H 306.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CEA2FB |
|---|---|
| RGB | rgb(206, 162, 251) |
| HSL | hsl(270, 92%, 81%) |
| HSV | hsv(270, 35%, 98%) |
| CMYK | cmyk(17.9%, 35.5%, 0%, 1.6%) |
| CIE-LAB | lab(73.50, 32.85, -38.25) |
| CIE-LCH | lch(73.50, 50.42, 310.66°) |
| OKLab | oklab(78.46% 0.0776 -0.1057) |
| OKLCH | oklch(78.46% 0.131 306.3) |
| XYZ | xyz(55.7831, 45.9279, 97.1743) |
| Luminance | 0.4593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 0.39
Pastel Purple
#CAA0FF
ΔE00 1.47
Baby Purple
#CA9BF7
ΔE00 1.74
Lavender (survey)
#C79FEF
ΔE00 2.04
Pale Violet
#CEAEFA
ΔE00 3.44
Mauve
#E0B0FF
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEA2FB #CFFBA2
analogous
#A2A2FB #CEA2FB #FBA2FB
triadic
#CEA2FB #FBCEA2 #A2FBCE
tetradic
#CEA2FB #FBA2A2 #CFFBA2 #A2FBFB
square
#CEA2FB #FBA2A2 #CFFBA2 #A2FBFB
split-complementary
#CEA2FB #FBFBA2 #A2FBA2
monochromatic
#902DF6 #AF67F8 #CEA2FB #EDDDFE #F0E2FE
Accessibility & contrast
On white
2.06
#CEA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#CEA2FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEA2FB
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEA2FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEA2FB | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#C8AFC3
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cea2fb; /* rgb */ color: rgb(206, 162, 251); /* oklch */ color: oklch(78.5% 0.131 306.3);
Tailwind
colors: {
custom: {
50: '#debefd',
500: '#cea2fb',
950: '#000000',
},
}SCSS
$custom: #cea2fb; $custom-light: #debefd; $custom-dark: #000000;
JSON
{
"hex": "#cea2fb",
"rgb": {
"r": 206,
"g": 162,
"b": 251
},
"hsl": {
"h": 269.663,
"s": 91.753,
"l": 80.98
},
"oklch": {
"l": 0.7846,
"c": 0.13116,
"h": 306.3
},
"luminance": 0.45928
}Semantic roles & 50–950 ramp
primary
#CEA2FB
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185