#CA7CFB#CA7CFB
#CA7CFB is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.191 H 310.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CFB |
|---|---|
| RGB | rgb(202, 124, 251) |
| HSL | hsl(277, 94%, 74%) |
| HSV | hsv(277, 51%, 98%) |
| CMYK | cmyk(19.5%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(64.91, 52.08, -51.75) |
| CIE-LCH | lch(64.91, 73.42, 315.18°) |
| OKLab | oklab(71.92% 0.125 -0.1447) |
| OKLCH | oklch(71.92% 0.191 310.8) |
| XYZ | xyz(48.9742, 33.9378, 95.2188) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.27
Easter Purple
#C071FE
ΔE00 3.30
Liliac
#C48EFD
ΔE00 4.44
Light Urple
#B36FF6
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 5.85
Bright Lilac
#C95EFB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CFB #ADFB7C
analogous
#8A7CFB #CA7CFB #FB7CED
triadic
#CA7CFB #FBCA7C #7CFBCA
tetradic
#CA7CFB #FB8A7C #ADFB7C #7CEDFB
square
#CA7CFB #FB8A7C #ADFB7C #7CEDFB
split-complementary
#CA7CFB #EDFB7C #7CFB8A
monochromatic
#9907F5 #B241F9 #CA7CFB #E2B7FD #F3E1FE
Accessibility & contrast
On white
2.70
#CA7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CA7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CFB
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CFB | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#C491B0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7cfb; /* rgb */ color: rgb(202, 124, 251); /* oklch */ color: oklch(71.9% 0.191 310.8);
Tailwind
colors: {
custom: {
50: '#dda4fd',
500: '#ca7cfb',
950: '#000000',
},
}SCSS
$custom: #ca7cfb; $custom-light: #dda4fd; $custom-dark: #000000;
JSON
{
"hex": "#ca7cfb",
"rgb": {
"r": 202,
"g": 124,
"b": 251
},
"hsl": {
"h": 276.85,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.71923,
"c": 0.19117,
"h": 310.8
},
"luminance": 0.33937
}Semantic roles & 50–950 ramp
primary
#CA7CFB
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86