#CA6FE2#CA6FE2
#CA6FE2 is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.7% C 0.185 H 318.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CA6FE2 |
|---|---|
| RGB | rgb(202, 111, 226) |
| HSL | hsl(287, 66%, 66%) |
| HSV | hsv(287, 51%, 89%) |
| CMYK | cmyk(10.6%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(61.15, 53.57, -43.86) |
| CIE-LCH | lch(61.15, 69.23, 320.69°) |
| OKLab | oklab(68.74% 0.1397 -0.1217) |
| OKLCH | oklch(68.74% 0.185 318.9) |
| XYZ | xyz(43.7672, 29.4181, 75.3095) |
| Luminance | 0.2942 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.44
Light Purple
#BF77F6
ΔE00 4.66
Bright Lilac
#C95EFB
ΔE00 5.26
Easter Purple
#C071FE
ΔE00 5.37
Bright Lavender
#C760FF
ΔE00 5.64
Heliotrope
#D94FF5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA6FE2 #87E26F
analogous
#906FE2 #CA6FE2 #E26FC0
triadic
#CA6FE2 #E2CA6F #6FE2CA
tetradic
#CA6FE2 #E2906F #87E26F #6FC0E2
square
#CA6FE2 #E2906F #87E26F #6FC0E2
split-complementary
#CA6FE2 #C0E26F #6FE290
monochromatic
#9524B3 #B73CD8 #CA6FE2 #DDA2EC #EFD5F7
Accessibility & contrast
On white
3.05
#CA6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#CA6FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA6FE2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA6FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA6FE2 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8DE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#CA7F9E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ca6fe2; /* rgb */ color: rgb(202, 111, 226); /* oklch */ color: oklch(68.7% 0.185 318.9);
Tailwind
colors: {
custom: {
50: '#dc9beb',
500: '#ca6fe2',
950: '#000000',
},
}SCSS
$custom: #ca6fe2; $custom-light: #dc9beb; $custom-dark: #000000;
JSON
{
"hex": "#ca6fe2",
"rgb": {
"r": 202,
"g": 111,
"b": 226
},
"hsl": {
"h": 287.478,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.68741,
"c": 0.18525,
"h": 318.9
},
"luminance": 0.29416
}Semantic roles & 50–950 ramp
primary
#CA6FE2
secondary
#CBE9C4
accent
#CE173D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84