#CA7FF9#CA7FF9
#CA7FF9 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.184 H 311.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FF9 |
|---|---|
| RGB | rgb(202, 127, 249) |
| HSL | hsl(277, 91%, 74%) |
| HSV | hsv(277, 49%, 98%) |
| CMYK | cmyk(18.9%, 49%, 0%, 2.4%) |
| CIE-LAB | lab(65.42, 50.10, -49.86) |
| CIE-LCH | lch(65.42, 70.68, 315.14°) |
| OKLab | oklab(72.27% 0.1208 -0.1392) |
| OKLCH | oklch(72.27% 0.184 311) |
| XYZ | xyz(49.0423, 34.5758, 93.6944) |
| Luminance | 0.3458 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.74
Liliac
#C48EFD
ΔE00 3.87
Easter Purple
#C071FE
ΔE00 3.97
Light Urple
#B36FF6
ΔE00 5.74
Bright Lavender
#C760FF
ΔE00 6.57
Bright Lilac
#C95EFB
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FF9 #AEF97F
analogous
#8D7FF9 #CA7FF9 #F97FEB
triadic
#CA7FF9 #F9CA7F #7FF9CA
tetradic
#CA7FF9 #F98D7F #AEF97F #7FEBF9
square
#CA7FF9 #F98D7F #AEF97F #7FEBF9
split-complementary
#CA7FF9 #EBF97F #7FF98D
monochromatic
#990BF2 #B245F6 #CA7FF9 #E2B9FC #F3E2FE
Accessibility & contrast
On white
2.65
#CA7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#CA7FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FF9
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FF9 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#C593B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ca7ff9; /* rgb */ color: rgb(202, 127, 249); /* oklch */ color: oklch(72.3% 0.184 311.0);
Tailwind
colors: {
custom: {
50: '#dca6fc',
500: '#ca7ff9',
950: '#000000',
},
}SCSS
$custom: #ca7ff9; $custom-light: #dca6fc; $custom-dark: #000000;
JSON
{
"hex": "#ca7ff9",
"rgb": {
"r": 202,
"g": 127,
"b": 249
},
"hsl": {
"h": 276.885,
"s": 91.045,
"l": 73.725
},
"oklch": {
"l": 0.72265,
"c": 0.18428,
"h": 311
},
"luminance": 0.34575
}Semantic roles & 50–950 ramp
primary
#CA7FF9
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85