#CA7CFA#CA7CFA
#CA7CFA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.190 H 311.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CFA |
|---|---|
| RGB | rgb(202, 124, 250) |
| HSL | hsl(277, 93%, 73%) |
| HSV | hsv(277, 50%, 98%) |
| CMYK | cmyk(19.2%, 50.4%, 0%, 2%) |
| CIE-LAB | lab(64.86, 51.87, -51.28) |
| CIE-LCH | lch(64.86, 72.94, 315.33°) |
| OKLab | oklab(71.87% 0.1249 -0.1433) |
| OKLCH | oklch(71.87% 0.19 311.1) |
| XYZ | xyz(48.8170, 33.8749, 94.3908) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.29
Easter Purple
#C071FE
ΔE00 3.36
Liliac
#C48EFD
ΔE00 4.46
Light Urple
#B36FF6
ΔE00 5.25
Bright Lavender
#C760FF
ΔE00 5.88
Bright Lilac
#C95EFB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CFA #ACFA7C
analogous
#8B7CFA #CA7CFA #FA7CEB
triadic
#CA7CFA #FACA7C #7CFACA
tetradic
#CA7CFA #FA8B7C #ACFA7C #7CEBFA
square
#CA7CFA #FA8B7C #ACFA7C #7CEBFA
split-complementary
#CA7CFA #EBFA7C #7CFA8B
monochromatic
#9A09F2 #B241F8 #CA7CFA #E2B7FC #F3E2FE
Accessibility & contrast
On white
2.70
#CA7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CA7CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CFA
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CFA | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#C491B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7cfa; /* rgb */ color: rgb(202, 124, 250); /* oklch */ color: oklch(71.9% 0.190 311.1);
Tailwind
colors: {
custom: {
50: '#dda4fc',
500: '#ca7cfa',
950: '#000000',
},
}SCSS
$custom: #ca7cfa; $custom-light: #dda4fc; $custom-dark: #000000;
JSON
{
"hex": "#ca7cfa",
"rgb": {
"r": 202,
"g": 124,
"b": 250
},
"hsl": {
"h": 277.143,
"s": 92.647,
"l": 73.333
},
"oklch": {
"l": 0.7187,
"c": 0.19008,
"h": 311.1
},
"luminance": 0.33874
}Semantic roles & 50–950 ramp
primary
#CA7CFA
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85