#CA9FF3#CA9FF3
#CA9FF3 is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.2% C 0.125 H 307.2°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9FF3 |
|---|---|
| RGB | rgb(202, 159, 243) |
| HSL | hsl(271, 78%, 79%) |
| HSV | hsv(271, 35%, 95%) |
| CMYK | cmyk(16.9%, 34.6%, 0%, 4.7%) |
| CIE-LAB | lab(72.11, 31.57, -36.09) |
| CIE-LCH | lch(72.11, 47.95, 311.18°) |
| OKLab | oklab(77.21% 0.0755 -0.0996) |
| OKLCH | oklch(77.21% 0.125 307.2) |
| XYZ | xyz(52.9298, 43.8243, 90.4472) |
| Luminance | 0.4382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 0.81
Baby Purple
#CA9BF7
ΔE00 1.50
Lilac (survey)
#CEA2FD
ΔE00 1.65
Pastel Purple
#CAA0FF
ΔE00 2.27
Pale Violet
#CEAEFA
ΔE00 3.84
Mauve
#E0B0FF
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9FF3 #C8F39F
analogous
#A09FF3 #CA9FF3 #F39FF2
triadic
#CA9FF3 #F3CA9F #9FF3CA
tetradic
#CA9FF3 #F3A09F #C8F39F #9FF2F3
square
#CA9FF3 #F3A09F #C8F39F #9FF2F3
split-complementary
#CA9FF3 #F2F39F #9FF3A0
monochromatic
#8E32E5 #AC69EC #CA9FF3 #E8D5FA #F0E4FC
Accessibility & contrast
On white
2.15
#CA9FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CA9FF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9FF3
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9FF3 | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EAFF6
Deuteranopia (green-blind)
#97B1F1
Tritanopia (blue-blind)
#C4ABBE
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ca9ff3; /* rgb */ color: rgb(202, 159, 243); /* oklch */ color: oklch(77.2% 0.125 307.2);
Tailwind
colors: {
custom: {
50: '#dbbcf7',
500: '#ca9ff3',
950: '#000000',
},
}SCSS
$custom: #ca9ff3; $custom-light: #dbbcf7; $custom-dark: #000000;
JSON
{
"hex": "#ca9ff3",
"rgb": {
"r": 202,
"g": 159,
"b": 243
},
"hsl": {
"h": 270.714,
"s": 77.778,
"l": 78.824
},
"oklch": {
"l": 0.7721,
"c": 0.12498,
"h": 307.2
},
"luminance": 0.43824
}Semantic roles & 50–950 ramp
primary
#CA9FF3
secondary
#E5F3D8
accent
#DA0B70
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185