#CA7AEE#CA7AEE
#CA7AEE is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.180 H 314.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7AEE |
|---|---|
| RGB | rgb(202, 122, 238) |
| HSL | hsl(281, 77%, 71%) |
| HSV | hsv(281, 49%, 93%) |
| CMYK | cmyk(15.1%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(63.88, 50.38, -46.23) |
| CIE-LCH | lch(63.88, 68.38, 317.46°) |
| OKLab | oklab(70.95% 0.1262 -0.1286) |
| OKLCH | oklch(70.95% 0.18 314.5) |
| XYZ | xyz(46.7468, 32.6499, 84.7119) |
| Luminance | 0.3265 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.00
Easter Purple
#C071FE
ΔE00 4.29
Liliac
#C48EFD
ΔE00 5.49
Light Urple
#B36FF6
ΔE00 5.75
Orchid
#DA70D6
ΔE00 6.08
Bright Lilac
#C95EFB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7AEE #9EEE7A
analogous
#907AEE #CA7AEE #EE7AD8
triadic
#CA7AEE #EECA7A #7AEECA
tetradic
#CA7AEE #EE907A #9EEE7A #7AD8EE
square
#CA7AEE #EE907A #9EEE7A #7AD8EE
split-complementary
#CA7AEE #D8EE7A #7AEE90
monochromatic
#9A1BD3 #B444E7 #CA7AEE #E0B0F5 #F4E4FC
Accessibility & contrast
On white
2.79
#CA7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#CA7AEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7AEE
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7AEE | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#C78CA9
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ca7aee; /* rgb */ color: rgb(202, 122, 238); /* oklch */ color: oklch(70.9% 0.180 314.5);
Tailwind
colors: {
custom: {
50: '#dca3f4',
500: '#ca7aee',
950: '#000000',
},
}SCSS
$custom: #ca7aee; $custom-light: #dca3f4; $custom-dark: #000000;
JSON
{
"hex": "#ca7aee",
"rgb": {
"r": 202,
"g": 122,
"b": 238
},
"hsl": {
"h": 281.379,
"s": 77.333,
"l": 70.588
},
"oklch": {
"l": 0.70948,
"c": 0.18021,
"h": 314.5
},
"luminance": 0.32649
}Semantic roles & 50–950 ramp
primary
#CA7AEE
secondary
#DCF2D2
accent
#DA0C4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85