#CA7CFD#CA7CFD
#CA7CFD is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.193 H 310.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CFD |
|---|---|
| RGB | rgb(202, 124, 253) |
| HSL | hsl(276, 97%, 74%) |
| HSV | hsv(276, 51%, 99%) |
| CMYK | cmyk(20.2%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(65.01, 52.51, -52.69) |
| CIE-LCH | lch(65.01, 74.39, 314.90°) |
| OKLab | oklab(72.03% 0.1251 -0.1474) |
| OKLCH | oklch(72.03% 0.193 310.3) |
| XYZ | xyz(49.2911, 34.0646, 96.8880) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.29
Easter Purple
#C071FE
ΔE00 3.19
Liliac
#C48EFD
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 5.18
Bright Lavender
#C760FF
ΔE00 5.80
Bright Lilac
#C95EFB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CFD #AFFD7C
analogous
#8A7CFD #CA7CFD #FD7CF0
triadic
#CA7CFD #FDCA7C #7CFDCA
tetradic
#CA7CFD #FD8A7C #AFFD7C #7CF0FD
square
#CA7CFD #FD8A7C #AFFD7C #7CF0FD
split-complementary
#CA7CFD #F0FD7C #7CFD8A
monochromatic
#9904FB #B240FC #CA7CFD #E2B8FE #F3E1FF
Accessibility & contrast
On white
2.69
#CA7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CA7CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CFD
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CFD | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C492B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ca7cfd; /* rgb */ color: rgb(202, 124, 253); /* oklch */ color: oklch(72.0% 0.193 310.3);
Tailwind
colors: {
custom: {
50: '#dda4fe',
500: '#ca7cfd',
950: '#000000',
},
}SCSS
$custom: #ca7cfd; $custom-light: #dda4fe; $custom-dark: #000000;
JSON
{
"hex": "#ca7cfd",
"rgb": {
"r": 202,
"g": 124,
"b": 253
},
"hsl": {
"h": 276.279,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.72031,
"c": 0.19336,
"h": 310.3
},
"luminance": 0.34064
}Semantic roles & 50–950 ramp
primary
#CA7CFD
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86