#CA7FEA#CA7FEA
#CA7FEA is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.168 H 315.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FEA |
|---|---|
| RGB | rgb(202, 127, 234) |
| HSL | hsl(282, 72%, 71%) |
| HSV | hsv(282, 46%, 92%) |
| CMYK | cmyk(13.7%, 45.7%, 0%, 8.2%) |
| CIE-LAB | lab(64.71, 46.95, -42.71) |
| CIE-LCH | lch(64.71, 63.47, 317.70°) |
| OKLab | oklab(71.5% 0.1189 -0.1185) |
| OKLCH | oklch(71.5% 0.168 315.1) |
| XYZ | xyz(46.7955, 33.6770, 81.8612) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.07
Liliac
#C48EFD
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.55
Orchid
#DA70D6
ΔE00 5.92
Violet (CSS)
#EE82EE
ΔE00 6.52
Lavender Pink
#DD85D7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FEA #9FEA7F
analogous
#947FEA #CA7FEA #EA7FD4
triadic
#CA7FEA #EACA7F #7FEACA
tetradic
#CA7FEA #EA947F #9FEA7F #7FD4EA
square
#CA7FEA #EA947F #9FEA7F #7FD4EA
split-complementary
#CA7FEA #D4EA7F #7FEA94
monochromatic
#9A22CD #B44AE1 #CA7FEA #E0B4F3 #F4E5FB
Accessibility & contrast
On white
2.71
#CA7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#CA7FEA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FEA
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FEA | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#C88FAA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7fea; /* rgb */ color: rgb(202, 127, 234); /* oklch */ color: oklch(71.5% 0.168 315.1);
Tailwind
colors: {
custom: {
50: '#dca6f1',
500: '#ca7fea',
950: '#000000',
},
}SCSS
$custom: #ca7fea; $custom-light: #dca6f1; $custom-dark: #000000;
JSON
{
"hex": "#ca7fea",
"rgb": {
"r": 202,
"g": 127,
"b": 234
},
"hsl": {
"h": 282.056,
"s": 71.812,
"l": 70.784
},
"oklch": {
"l": 0.71503,
"c": 0.16781,
"h": 315.1
},
"luminance": 0.33676
}Semantic roles & 50–950 ramp
primary
#CA7FEA
secondary
#DDF1D4
accent
#D4124C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85