#CA7CF9#CA7CF9
#CA7CF9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.8% C 0.189 H 311.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CF9 |
|---|---|
| RGB | rgb(202, 124, 249) |
| HSL | hsl(277, 91%, 73%) |
| HSV | hsv(277, 50%, 98%) |
| CMYK | cmyk(18.9%, 50.2%, 0%, 2.4%) |
| CIE-LAB | lab(64.81, 51.66, -50.81) |
| CIE-LCH | lch(64.81, 72.46, 315.47°) |
| OKLab | oklab(71.82% 0.1248 -0.1419) |
| OKLCH | oklch(71.82% 0.189 311.3) |
| XYZ | xyz(48.6606, 33.8124, 93.5672) |
| Luminance | 0.3381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.31
Easter Purple
#C071FE
ΔE00 3.43
Liliac
#C48EFD
ΔE00 4.49
Light Urple
#B36FF6
ΔE00 5.29
Bright Lavender
#C760FF
ΔE00 5.91
Bright Lilac
#C95EFB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CF9 #ABF97C
analogous
#8B7CF9 #CA7CF9 #F97CE9
triadic
#CA7CF9 #F9CA7C #7CF9CA
tetradic
#CA7CF9 #F98B7C #ABF97C #7CE9F9
square
#CA7CF9 #F98B7C #ABF97C #7CE9F9
split-complementary
#CA7CF9 #E9F97C #7CF98B
monochromatic
#9A0BF0 #B241F6 #CA7CF9 #E2B7FC #F3E2FE
Accessibility & contrast
On white
2.71
#CA7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#CA7CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CF9
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CF9 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#C591AF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7cf9; /* rgb */ color: rgb(202, 124, 249); /* oklch */ color: oklch(71.8% 0.189 311.3);
Tailwind
colors: {
custom: {
50: '#dca4fc',
500: '#ca7cf9',
950: '#000000',
},
}SCSS
$custom: #ca7cf9; $custom-light: #dca4fc; $custom-dark: #000000;
JSON
{
"hex": "#ca7cf9",
"rgb": {
"r": 202,
"g": 124,
"b": 249
},
"hsl": {
"h": 277.44,
"s": 91.241,
"l": 73.137
},
"oklch": {
"l": 0.71817,
"c": 0.18898,
"h": 311.3
},
"luminance": 0.33811
}Semantic roles & 50–950 ramp
primary
#CA7CF9
secondary
#E1F6D5
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85