#CA7AEF#CA7AEF
#CA7AEF is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.181 H 314.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7AEF |
|---|---|
| RGB | rgb(202, 122, 239) |
| HSL | hsl(281, 79%, 71%) |
| HSV | hsv(281, 49%, 94%) |
| CMYK | cmyk(15.5%, 49%, 0%, 6.3%) |
| CIE-LAB | lab(63.92, 50.59, -46.71) |
| CIE-LCH | lch(63.92, 68.85, 317.29°) |
| OKLab | oklab(71% 0.1264 -0.13) |
| OKLCH | oklch(71% 0.181 314.2) |
| XYZ | xyz(46.8941, 32.7088, 85.4878) |
| Luminance | 0.3271 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.88
Easter Purple
#C071FE
ΔE00 4.16
Liliac
#C48EFD
ΔE00 5.42
Light Urple
#B36FF6
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 6.06
Bright Lilac
#C95EFB
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7AEF #9FEF7A
analogous
#8F7AEF #CA7AEF #EF7AD9
triadic
#CA7AEF #EFCA7A #7AEFCA
tetradic
#CA7AEF #EF8F7A #9FEF7A #7AD9EF
square
#CA7AEF #EF8F7A #9FEF7A #7AD9EF
split-complementary
#CA7AEF #D9EF7A #7AEF8F
monochromatic
#9A1AD5 #B443E8 #CA7AEF #E0B1F6 #F4E4FC
Accessibility & contrast
On white
2.78
#CA7AEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#CA7AEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7AEF
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7AEF | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#C78CAA
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ca7aef; /* rgb */ color: rgb(202, 122, 239); /* oklch */ color: oklch(71.0% 0.181 314.2);
Tailwind
colors: {
custom: {
50: '#dca3f5',
500: '#ca7aef',
950: '#000000',
},
}SCSS
$custom: #ca7aef; $custom-light: #dca3f5; $custom-dark: #000000;
JSON
{
"hex": "#ca7aef",
"rgb": {
"r": 202,
"g": 122,
"b": 239
},
"hsl": {
"h": 281.026,
"s": 78.523,
"l": 70.784
},
"oklch": {
"l": 0.70999,
"c": 0.18129,
"h": 314.2
},
"luminance": 0.32708
}Semantic roles & 50–950 ramp
primary
#CA7AEF
secondary
#DDF2D3
accent
#DB0B4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85