#CA7EF6#CA7EF6
#CA7EF6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.183 H 311.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7EF6 |
|---|---|
| RGB | rgb(202, 126, 246) |
| HSL | hsl(278, 87%, 73%) |
| HSV | hsv(278, 49%, 96%) |
| CMYK | cmyk(17.9%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(65.07, 49.98, -48.76) |
| CIE-LCH | lch(65.07, 69.83, 315.71°) |
| OKLab | oklab(71.96% 0.1218 -0.136) |
| OKLCH | oklch(71.96% 0.183 311.9) |
| XYZ | xyz(48.4496, 34.1331, 91.2070) |
| Luminance | 0.3413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.71
Easter Purple
#C071FE
ΔE00 4.02
Liliac
#C48EFD
ΔE00 4.20
Light Urple
#B36FF6
ΔE00 5.72
Bright Lavender
#C760FF
ΔE00 6.47
Bright Lilac
#C95EFB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7EF6 #AAF67E
analogous
#8E7EF6 #CA7EF6 #F67EE6
triadic
#CA7EF6 #F6CA7E #7EF6CA
tetradic
#CA7EF6 #F68E7E #AAF67E #7EE6F6
square
#CA7EF6 #F68E7E #AAF67E #7EE6F6
split-complementary
#CA7EF6 #E6F67E #7EF68E
monochromatic
#9A10E9 #B245F2 #CA7EF6 #E2B7FA #F3E2FD
Accessibility & contrast
On white
2.68
#CA7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CA7EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7EF6
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7EF6 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619AFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C591AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ca7ef6; /* rgb */ color: rgb(202, 126, 246); /* oklch */ color: oklch(72.0% 0.183 311.9);
Tailwind
colors: {
custom: {
50: '#dca5f9',
500: '#ca7ef6',
950: '#000000',
},
}SCSS
$custom: #ca7ef6; $custom-light: #dca5f9; $custom-dark: #000000;
JSON
{
"hex": "#ca7ef6",
"rgb": {
"r": 202,
"g": 126,
"b": 246
},
"hsl": {
"h": 278,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.71958,
"c": 0.18255,
"h": 311.9
},
"luminance": 0.34132
}Semantic roles & 50–950 ramp
primary
#CA7EF6
secondary
#E1F5D6
accent
#E40255
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85