#CA7BED#CA7BED
#CA7BED is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.178 H 314.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BED |
|---|---|
| RGB | rgb(202, 123, 237) |
| HSL | hsl(282, 76%, 71%) |
| HSV | hsv(282, 48%, 93%) |
| CMYK | cmyk(14.8%, 48.1%, 0%, 7.1%) |
| CIE-LAB | lab(64.03, 49.66, -45.43) |
| CIE-LCH | lch(64.03, 67.31, 317.54°) |
| OKLab | oklab(71.05% 0.1248 -0.1263) |
| OKLCH | oklch(71.05% 0.178 314.6) |
| XYZ | xyz(46.7237, 32.8381, 83.9814) |
| Luminance | 0.3284 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.21
Easter Purple
#C071FE
ΔE00 4.55
Liliac
#C48EFD
ΔE00 5.40
Light Urple
#B36FF6
ΔE00 5.98
Orchid
#DA70D6
ΔE00 6.00
Bright Lilac
#C95EFB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BED #9EED7B
analogous
#917BED #CA7BED #ED7BD7
triadic
#CA7BED #EDCA7B #7BEDCA
tetradic
#CA7BED #ED917B #9EED7B #7BD7ED
square
#CA7BED #ED917B #9EED7B #7BD7ED
split-complementary
#CA7BED #D7ED7B #7BED91
monochromatic
#9A1DD1 #B445E6 #CA7BED #E0B1F4 #F4E4FB
Accessibility & contrast
On white
2.78
#CA7BED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#CA7BED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7BED
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BED | 1.00 | 2.78 | 7.57 | 7.57 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6397F1
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#C88CA9
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ca7bed; /* rgb */ color: rgb(202, 123, 237); /* oklch */ color: oklch(71.0% 0.178 314.6);
Tailwind
colors: {
custom: {
50: '#dca3f3',
500: '#ca7bed',
950: '#000000',
},
}SCSS
$custom: #ca7bed; $custom-light: #dca3f3; $custom-dark: #000000;
JSON
{
"hex": "#ca7bed",
"rgb": {
"r": 202,
"g": 123,
"b": 237
},
"hsl": {
"h": 281.579,
"s": 76,
"l": 70.588
},
"oklch": {
"l": 0.71046,
"c": 0.17754,
"h": 314.6
},
"luminance": 0.32837
}Semantic roles & 50–950 ramp
primary
#CA7BED
secondary
#DCF1D2
accent
#D80D4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85