#CA7DF6#CA7DF6
#CA7DF6 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.8% C 0.184 H 312.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7DF6 |
|---|---|
| RGB | rgb(202, 125, 246) |
| HSL | hsl(278, 87%, 73%) |
| HSV | hsv(278, 49%, 96%) |
| CMYK | cmyk(17.9%, 49.2%, 0%, 3.5%) |
| CIE-LAB | lab(64.87, 50.50, -49.08) |
| CIE-LCH | lch(64.87, 70.42, 315.82°) |
| OKLab | oklab(71.81% 0.1231 -0.1369) |
| OKLCH | oklch(71.81% 0.184 312) |
| XYZ | xyz(48.3224, 33.8786, 91.1646) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.57
Easter Purple
#C071FE
ΔE00 3.84
Liliac
#C48EFD
ΔE00 4.40
Light Urple
#B36FF6
ΔE00 5.57
Bright Lavender
#C760FF
ΔE00 6.25
Bright Lilac
#C95EFB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7DF6 #A9F67D
analogous
#8E7DF6 #CA7DF6 #F67DE5
triadic
#CA7DF6 #F6CA7D #7DF6CA
tetradic
#CA7DF6 #F68E7D #A9F67D #7DE5F6
square
#CA7DF6 #F68E7D #A9F67D #7DE5F6
split-complementary
#CA7DF6 #E5F67D #7DF68E
monochromatic
#9A10E9 #B344F2 #CA7DF6 #E1B6FA #F3E2FD
Accessibility & contrast
On white
2.70
#CA7DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CA7DF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7DF6
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7DF6 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C590AE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7df6; /* rgb */ color: rgb(202, 125, 246); /* oklch */ color: oklch(71.8% 0.184 312.0);
Tailwind
colors: {
custom: {
50: '#dca5f9',
500: '#ca7df6',
950: '#000000',
},
}SCSS
$custom: #ca7df6; $custom-light: #dca5f9; $custom-dark: #000000;
JSON
{
"hex": "#ca7df6",
"rgb": {
"r": 202,
"g": 125,
"b": 246
},
"hsl": {
"h": 278.182,
"s": 87.05,
"l": 72.745
},
"oklch": {
"l": 0.71808,
"c": 0.18413,
"h": 312
},
"luminance": 0.33878
}Semantic roles & 50–950 ramp
primary
#CA7DF6
secondary
#E1F5D6
accent
#E40254
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85