#CA9EF2#CA9EF2
#CA9EF2 is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.125 H 307.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9EF2 |
|---|---|
| RGB | rgb(202, 158, 242) |
| HSL | hsl(271, 76%, 78%) |
| HSV | hsv(271, 35%, 95%) |
| CMYK | cmyk(16.5%, 34.7%, 0%, 5.1%) |
| CIE-LAB | lab(71.84, 31.91, -35.97) |
| CIE-LCH | lch(71.84, 48.08, 311.57°) |
| OKLab | oklab(76.99% 0.0767 -0.0992) |
| OKLCH | oklch(76.99% 0.125 307.7) |
| XYZ | xyz(52.6080, 43.4215, 89.5969) |
| Luminance | 0.4342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 0.86
Baby Purple
#CA9BF7
ΔE00 1.43
Lilac (survey)
#CEA2FD
ΔE00 1.86
Pastel Purple
#CAA0FF
ΔE00 2.44
Pale Violet
#CEAEFA
ΔE00 4.10
Mauve
#E0B0FF
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9EF2 #C6F29E
analogous
#A09EF2 #CA9EF2 #F29EF0
triadic
#CA9EF2 #F2CA9E #9EF2CA
tetradic
#CA9EF2 #F2A09E #C6F29E #9EF0F2
square
#CA9EF2 #F2A09E #C6F29E #9EF0F2
split-complementary
#CA9EF2 #F0F29E #9EF2A0
monochromatic
#8F32E4 #AD68EB #CA9EF2 #E7D4F9 #F0E4FB
Accessibility & contrast
On white
2.17
#CA9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#CA9EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9EF2
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9EF2 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#C5AABD
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ca9ef2; /* rgb */ color: rgb(202, 158, 242); /* oklch */ color: oklch(77.0% 0.125 307.7);
Tailwind
colors: {
custom: {
50: '#dbbbf6',
500: '#ca9ef2',
950: '#000000',
},
}SCSS
$custom: #ca9ef2; $custom-light: #dbbbf6; $custom-dark: #000000;
JSON
{
"hex": "#ca9ef2",
"rgb": {
"r": 202,
"g": 158,
"b": 242
},
"hsl": {
"h": 271.429,
"s": 76.364,
"l": 78.431
},
"oklch": {
"l": 0.76991,
"c": 0.12541,
"h": 307.7
},
"luminance": 0.43421
}Semantic roles & 50–950 ramp
primary
#CA9EF2
secondary
#E5F3D8
accent
#D90D6E
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185