#CA7FF6#CA7FF6
#CA7FF6 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.181 H 311.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FF6 |
|---|---|
| RGB | rgb(202, 127, 246) |
| HSL | hsl(278, 87%, 73%) |
| HSV | hsv(278, 48%, 96%) |
| CMYK | cmyk(17.9%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(65.27, 49.46, -48.44) |
| CIE-LCH | lch(65.27, 69.23, 315.60°) |
| OKLab | oklab(72.11% 0.1205 -0.1351) |
| OKLCH | oklch(72.11% 0.181 311.7) |
| XYZ | xyz(48.5781, 34.3901, 91.2498) |
| Luminance | 0.3439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.86
Liliac
#C48EFD
ΔE00 4.00
Easter Purple
#C071FE
ΔE00 4.20
Light Urple
#B36FF6
ΔE00 5.88
Bright Lavender
#C760FF
ΔE00 6.69
Bright Lilac
#C95EFB
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FF6 #ABF67F
analogous
#8E7FF6 #CA7FF6 #F67FE6
triadic
#CA7FF6 #F6CA7F #7FF6CA
tetradic
#CA7FF6 #F68E7F #ABF67F #7FE6F6
square
#CA7FF6 #F68E7F #ABF67F #7FE6F6
split-complementary
#CA7FF6 #E6F67F #7FF68E
monochromatic
#9A10EA #B246F2 #CA7FF6 #E2B8FA #F3E2FD
Accessibility & contrast
On white
2.67
#CA7FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#CA7FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FF6
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FF6 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#C592AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ca7ff6; /* rgb */ color: rgb(202, 127, 246); /* oklch */ color: oklch(72.1% 0.181 311.7);
Tailwind
colors: {
custom: {
50: '#dca6f9',
500: '#ca7ff6',
950: '#000000',
},
}SCSS
$custom: #ca7ff6; $custom-light: #dca6f9; $custom-dark: #000000;
JSON
{
"hex": "#ca7ff6",
"rgb": {
"r": 202,
"g": 127,
"b": 246
},
"hsl": {
"h": 277.815,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.72109,
"c": 0.18097,
"h": 311.7
},
"luminance": 0.34389
}Semantic roles & 50–950 ramp
primary
#CA7FF6
secondary
#E1F5D6
accent
#E30255
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85