#CA7FF0#CA7FF0
#CA7FF0 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.8% C 0.174 H 313.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FF0 |
|---|---|
| RGB | rgb(202, 127, 240) |
| HSL | hsl(280, 79%, 72%) |
| HSV | hsv(280, 47%, 94%) |
| CMYK | cmyk(15.8%, 47.1%, 0%, 5.9%) |
| CIE-LAB | lab(64.98, 48.19, -45.59) |
| CIE-LCH | lch(64.98, 66.34, 316.59°) |
| OKLab | oklab(71.8% 0.1197 -0.1268) |
| OKLCH | oklch(71.8% 0.174 313.4) |
| XYZ | xyz(47.6720, 34.0277, 86.4779) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.35
Liliac
#C48EFD
ΔE00 4.44
Easter Purple
#C071FE
ΔE00 4.80
Light Urple
#B36FF6
ΔE00 6.28
Orchid
#DA70D6
ΔE00 6.69
Baby Purple
#CA9BF7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FF0 #A5F07F
analogous
#927FF0 #CA7FF0 #F07FDE
triadic
#CA7FF0 #F0CA7F #7FF0CA
tetradic
#CA7FF0 #F0927F #A5F07F #7FDEF0
square
#CA7FF0 #F0927F #A5F07F #7FDEF0
split-complementary
#CA7FF0 #DEF07F #7FF092
monochromatic
#9A1ADB #B348EA #CA7FF0 #E1B6F6 #F4E4FC
Accessibility & contrast
On white
2.69
#CA7FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CA7FF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FF0
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FF0 | 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)
#679AF4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#C790AC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ca7ff0; /* rgb */ color: rgb(202, 127, 240); /* oklch */ color: oklch(71.8% 0.174 313.4);
Tailwind
colors: {
custom: {
50: '#dca6f5',
500: '#ca7ff0',
950: '#000000',
},
}SCSS
$custom: #ca7ff0; $custom-light: #dca6f5; $custom-dark: #000000;
JSON
{
"hex": "#ca7ff0",
"rgb": {
"r": 202,
"g": 127,
"b": 240
},
"hsl": {
"h": 279.823,
"s": 79.021,
"l": 71.961
},
"oklch": {
"l": 0.71802,
"c": 0.17437,
"h": 313.4
},
"luminance": 0.34027
}Semantic roles & 50–950 ramp
primary
#CA7FF0
secondary
#E1F4D7
accent
#DB0A51
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85