#CA7BEA#CA7BEA
#CA7BEA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.174 H 315.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BEA |
|---|---|
| RGB | rgb(202, 123, 234) |
| HSL | hsl(283, 73%, 70%) |
| HSV | hsv(283, 47%, 92%) |
| CMYK | cmyk(13.7%, 47.4%, 0%, 8.2%) |
| CIE-LAB | lab(63.89, 49.04, -44.00) |
| CIE-LCH | lch(63.89, 65.88, 318.10°) |
| OKLab | oklab(70.9% 0.1244 -0.1221) |
| OKLCH | oklch(70.9% 0.174 315.5) |
| XYZ | xyz(46.2891, 32.6643, 81.6924) |
| Luminance | 0.3266 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Easter Purple
#C071FE
ΔE00 4.97
Orchid
#DA70D6
ΔE00 5.59
Liliac
#C48EFD
ΔE00 5.68
Light Urple
#B36FF6
ΔE00 6.28
Bright Lilac
#C95EFB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BEA #9BEA7B
analogous
#937BEA #CA7BEA #EA7BD2
triadic
#CA7BEA #EACA7B #7BEACA
tetradic
#CA7BEA #EA937B #9BEA7B #7BD2EA
square
#CA7BEA #EA937B #9BEA7B #7BD2EA
split-complementary
#CA7BEA #D2EA7B #7BEA93
monochromatic
#9920CA #B546E2 #CA7BEA #DFB0F2 #F4E5FB
Accessibility & contrast
On white
2.79
#CA7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#CA7BEA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7BEA
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BEA | 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)
#6596EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#C88BA8
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ca7bea; /* rgb */ color: rgb(202, 123, 234); /* oklch */ color: oklch(70.9% 0.174 315.5);
Tailwind
colors: {
custom: {
50: '#dca3f1',
500: '#ca7bea',
950: '#000000',
},
}SCSS
$custom: #ca7bea; $custom-light: #dca3f1; $custom-dark: #000000;
JSON
{
"hex": "#ca7bea",
"rgb": {
"r": 202,
"g": 123,
"b": 234
},
"hsl": {
"h": 282.703,
"s": 72.549,
"l": 70
},
"oklch": {
"l": 0.70895,
"c": 0.17432,
"h": 315.5
},
"luminance": 0.32663
}Semantic roles & 50–950 ramp
primary
#CA7BEA
secondary
#DAF0D1
accent
#D51149
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85