#CA7CF2#CA7CF2
#CA7CF2 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.181 H 313.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CF2 |
|---|---|
| RGB | rgb(202, 124, 242) |
| HSL | hsl(280, 82%, 72%) |
| HSV | hsv(280, 49%, 95%) |
| CMYK | cmyk(16.5%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(64.47, 50.18, -47.50) |
| CIE-LCH | lch(64.47, 69.09, 316.57°) |
| OKLab | oklab(71.45% 0.124 -0.1323) |
| OKLCH | oklch(71.45% 0.181 313.1) |
| XYZ | xyz(47.5891, 33.3838, 87.9240) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.75
Easter Purple
#C071FE
ΔE00 4.08
Liliac
#C48EFD
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.69
Bright Lavender
#C760FF
ΔE00 6.26
Bright Lilac
#C95EFB
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CF2 #A4F27C
analogous
#8F7CF2 #CA7CF2 #F27CDF
triadic
#CA7CF2 #F2CA7C #7CF2CA
tetradic
#CA7CF2 #F28F7C #A4F27C #7CDFF2
square
#CA7CF2 #F28F7C #A4F27C #7CDFF2
split-complementary
#CA7CF2 #DFF27C #7CF28F
monochromatic
#9A16DE #B344EC #CA7CF2 #E1B4F8 #F4E3FC
Accessibility & contrast
On white
2.74
#CA7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#CA7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CF2
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CF2 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C68EAC
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca7cf2; /* rgb */ color: rgb(202, 124, 242); /* oklch */ color: oklch(71.5% 0.181 313.1);
Tailwind
colors: {
custom: {
50: '#dca4f7',
500: '#ca7cf2',
950: '#000000',
},
}SCSS
$custom: #ca7cf2; $custom-light: #dca4f7; $custom-dark: #000000;
JSON
{
"hex": "#ca7cf2",
"rgb": {
"r": 202,
"g": 124,
"b": 242
},
"hsl": {
"h": 279.661,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.71451,
"c": 0.18135,
"h": 313.1
},
"luminance": 0.33383
}Semantic roles & 50–950 ramp
primary
#CA7CF2
secondary
#E0F4D6
accent
#DE0750
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85