#CA7CFC#CA7CFC
#CA7CFC is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.192 H 310.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CFC |
|---|---|
| RGB | rgb(202, 124, 252) |
| HSL | hsl(277, 96%, 74%) |
| HSV | hsv(277, 51%, 99%) |
| CMYK | cmyk(19.8%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(64.96, 52.30, -52.22) |
| CIE-LCH | lch(64.96, 73.91, 315.04°) |
| OKLab | oklab(71.98% 0.1251 -0.146) |
| OKLCH | oklch(71.98% 0.192 310.6) |
| XYZ | xyz(49.1322, 34.0010, 96.0512) |
| Luminance | 0.3400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.28
Easter Purple
#C071FE
ΔE00 3.24
Liliac
#C48EFD
ΔE00 4.42
Light Urple
#B36FF6
ΔE00 5.20
Bright Lavender
#C760FF
ΔE00 5.82
Bright Lilac
#C95EFB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CFC #AEFC7C
analogous
#8A7CFC #CA7CFC #FC7CEE
triadic
#CA7CFC #FCCA7C #7CFCCA
tetradic
#CA7CFC #FC8A7C #AEFC7C #7CEEFC
square
#CA7CFC #FC8A7C #AEFC7C #7CEEFC
split-complementary
#CA7CFC #EEFC7C #7CFC8A
monochromatic
#9906F8 #B240FB #CA7CFC #E2B8FD #F3E1FE
Accessibility & contrast
On white
2.69
#CA7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#CA7CFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CFC
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CFC | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C491B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ca7cfc; /* rgb */ color: rgb(202, 124, 252); /* oklch */ color: oklch(72.0% 0.192 310.6);
Tailwind
colors: {
custom: {
50: '#dda4fe',
500: '#ca7cfc',
950: '#000000',
},
}SCSS
$custom: #ca7cfc; $custom-light: #dda4fe; $custom-dark: #000000;
JSON
{
"hex": "#ca7cfc",
"rgb": {
"r": 202,
"g": 124,
"b": 252
},
"hsl": {
"h": 276.563,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.71977,
"c": 0.19226,
"h": 310.6
},
"luminance": 0.34
}Semantic roles & 50–950 ramp
primary
#CA7CFC
secondary
#E2F7D4
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86