#CA7FFE#CA7FFE
#CA7FFE is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.5% C 0.190 H 309.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FFE |
|---|---|
| RGB | rgb(202, 127, 254) |
| HSL | hsl(275, 98%, 75%) |
| HSV | hsv(275, 50%, 100%) |
| CMYK | cmyk(20.5%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(65.66, 51.17, -52.21) |
| CIE-LCH | lch(65.66, 73.10, 314.43°) |
| OKLab | oklab(72.53% 0.1213 -0.146) |
| OKLCH | oklch(72.53% 0.19 309.7) |
| XYZ | xyz(49.8325, 34.8919, 97.8564) |
| Luminance | 0.3489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.72
Easter Purple
#C071FE
ΔE00 3.72
Liliac
#C48EFD
ΔE00 3.77
Light Urple
#B36FF6
ΔE00 5.60
Bright Lavender
#C760FF
ΔE00 6.45
Bright Lilac
#C95EFB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FFE #B3FE7F
analogous
#8B7FFE #CA7FFE #FE7FF3
triadic
#CA7FFE #FECA7F #7FFECA
tetradic
#CA7FFE #FE8B7F #B3FE7F #7FF3FE
square
#CA7FFE #FE8B7F #B3FE7F #7FF3FE
split-complementary
#CA7FFE #F3FE7F #7FFE8B
monochromatic
#9806FD #B142FE #CA7FFE #E3BCFE #F2E1FF
Accessibility & contrast
On white
2.63
#CA7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.98
#CA7FFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FFE
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FFE | 1.00 | 2.63 | 7.98 | 7.98 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#C394B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #ca7ffe; /* rgb */ color: rgb(202, 127, 254); /* oklch */ color: oklch(72.5% 0.190 309.7);
Tailwind
colors: {
custom: {
50: '#dda6ff',
500: '#ca7ffe',
950: '#000000',
},
}SCSS
$custom: #ca7ffe; $custom-light: #dda6ff; $custom-dark: #000000;
JSON
{
"hex": "#ca7ffe",
"rgb": {
"r": 202,
"g": 127,
"b": 254
},
"hsl": {
"h": 275.433,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.72529,
"c": 0.18983,
"h": 309.7
},
"luminance": 0.34891
}Semantic roles & 50–950 ramp
primary
#CA7FFE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86