#CA7BEC#CA7BEC
#CA7BEC is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.176 H 314.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BEC |
|---|---|
| RGB | rgb(202, 123, 236) |
| HSL | hsl(282, 75%, 70%) |
| HSV | hsv(282, 48%, 93%) |
| CMYK | cmyk(14.4%, 47.9%, 0%, 7.5%) |
| CIE-LAB | lab(63.98, 49.45, -44.96) |
| CIE-LCH | lch(63.98, 66.83, 317.73°) |
| OKLab | oklab(70.99% 0.1246 -0.1249) |
| OKLCH | oklch(70.99% 0.176 314.9) |
| XYZ | xyz(46.5780, 32.7799, 83.2141) |
| Luminance | 0.3278 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.34
Easter Purple
#C071FE
ΔE00 4.69
Liliac
#C48EFD
ΔE00 5.49
Orchid
#DA70D6
ΔE00 5.86
Light Urple
#B36FF6
ΔE00 6.07
Bright Lilac
#C95EFB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BEC #9DEC7B
analogous
#917BEC #CA7BEC #EC7BD5
triadic
#CA7BEC #ECCA7B #7BECCA
tetradic
#CA7BEC #EC917B #9DEC7B #7BD5EC
square
#CA7BEC #EC917B #9DEC7B #7BD5EC
split-complementary
#CA7BEC #D5EC7B #7BEC91
monochromatic
#9A1ECF #B546E4 #CA7BEC #DFB0F4 #F4E4FB
Accessibility & contrast
On white
2.78
#CA7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#CA7BEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7BEC
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BEC | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#C88CA9
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ca7bec; /* rgb */ color: rgb(202, 123, 236); /* oklch */ color: oklch(71.0% 0.176 314.9);
Tailwind
colors: {
custom: {
50: '#dca3f2',
500: '#ca7bec',
950: '#000000',
},
}SCSS
$custom: #ca7bec; $custom-light: #dca3f2; $custom-dark: #000000;
JSON
{
"hex": "#ca7bec",
"rgb": {
"r": 202,
"g": 123,
"b": 236
},
"hsl": {
"h": 281.947,
"s": 74.834,
"l": 70.392
},
"oklch": {
"l": 0.70995,
"c": 0.17647,
"h": 314.9
},
"luminance": 0.32779
}Semantic roles & 50–950 ramp
primary
#CA7BEC
secondary
#DBF1D2
accent
#D70F4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85