#CA9FF2#CA9FF2
#CA9FF2 is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.2% C 0.124 H 307.5°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9FF2 |
|---|---|
| RGB | rgb(202, 159, 242) |
| HSL | hsl(271, 76%, 79%) |
| HSV | hsv(271, 34%, 95%) |
| CMYK | cmyk(16.5%, 34.3%, 0%, 5.1%) |
| CIE-LAB | lab(72.07, 31.36, -35.61) |
| CIE-LCH | lch(72.07, 47.45, 311.37°) |
| OKLab | oklab(77.17% 0.0753 -0.0982) |
| OKLCH | oklch(77.17% 0.124 307.5) |
| XYZ | xyz(52.7792, 43.7641, 89.6540) |
| Luminance | 0.4376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 0.70
Baby Purple
#CA9BF7
ΔE00 1.65
Lilac (survey)
#CEA2FD
ΔE00 1.82
Pastel Purple
#CAA0FF
ΔE00 2.47
Pale Violet
#CEAEFA
ΔE00 3.84
Mauve
#E0B0FF
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9FF2 #C7F29F
analogous
#A09FF2 #CA9FF2 #F29FF1
triadic
#CA9FF2 #F2CA9F #9FF2CA
tetradic
#CA9FF2 #F2A09F #C7F29F #9FF1F2
square
#CA9FF2 #F2A09F #C7F29F #9FF1F2
split-complementary
#CA9FF2 #F1F29F #9FF2A0
monochromatic
#8E33E3 #AC69EB #CA9FF2 #E8D5F9 #F0E4FB
Accessibility & contrast
On white
2.15
#CA9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#CA9FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9FF2
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9FF2 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#98B1F0
Tritanopia (blue-blind)
#C5ABBE
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ca9ff2; /* rgb */ color: rgb(202, 159, 242); /* oklch */ color: oklch(77.2% 0.124 307.5);
Tailwind
colors: {
custom: {
50: '#dbbcf6',
500: '#ca9ff2',
950: '#000000',
},
}SCSS
$custom: #ca9ff2; $custom-light: #dbbcf6; $custom-dark: #000000;
JSON
{
"hex": "#ca9ff2",
"rgb": {
"r": 202,
"g": 159,
"b": 242
},
"hsl": {
"h": 271.084,
"s": 76.147,
"l": 78.627
},
"oklch": {
"l": 0.77166,
"c": 0.12374,
"h": 307.5
},
"luminance": 0.43764
}Semantic roles & 50–950 ramp
primary
#CA9FF2
secondary
#E5F3D8
accent
#D80D6F
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185