#CA7CF6#CA7CF6
#CA7CF6 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.7% C 0.186 H 312.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CF6 |
|---|---|
| RGB | rgb(202, 124, 246) |
| HSL | hsl(278, 87%, 73%) |
| HSV | hsv(278, 50%, 96%) |
| CMYK | cmyk(17.9%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(64.67, 51.02, -49.40) |
| CIE-LCH | lch(64.67, 71.01, 315.93°) |
| OKLab | oklab(71.66% 0.1245 -0.1378) |
| OKLCH | oklch(71.66% 0.186 312.1) |
| XYZ | xyz(48.1964, 33.6267, 91.1226) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.44
Easter Purple
#C071FE
ΔE00 3.67
Liliac
#C48EFD
ΔE00 4.60
Light Urple
#B36FF6
ΔE00 5.43
Bright Lavender
#C760FF
ΔE00 6.03
Bright Lilac
#C95EFB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CF6 #A8F67C
analogous
#8D7CF6 #CA7CF6 #F67CE5
triadic
#CA7CF6 #F6CA7C #7CF6CA
tetradic
#CA7CF6 #F68D7C #A8F67C #7CE5F6
square
#CA7CF6 #F68D7C #A8F67C #7CE5F6
split-complementary
#CA7CF6 #E5F67C #7CF68D
monochromatic
#9A10E8 #B343F2 #CA7CF6 #E1B5FA #F3E2FD
Accessibility & contrast
On white
2.72
#CA7CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CA7CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CF6
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CF6 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#C590AE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7cf6; /* rgb */ color: rgb(202, 124, 246); /* oklch */ color: oklch(71.7% 0.186 312.1);
Tailwind
colors: {
custom: {
50: '#dca4f9',
500: '#ca7cf6',
950: '#000000',
},
}SCSS
$custom: #ca7cf6; $custom-light: #dca4f9; $custom-dark: #000000;
JSON
{
"hex": "#ca7cf6",
"rgb": {
"r": 202,
"g": 124,
"b": 246
},
"hsl": {
"h": 278.361,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.71659,
"c": 0.1857,
"h": 312.1
},
"luminance": 0.33626
}Semantic roles & 50–950 ramp
primary
#CA7CF6
secondary
#E1F5D6
accent
#E40253
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85