#CA7CD1#CA7CD1
#CA7CD1 is a light, vivid purple. Relative luminance 0.316; OKLCH L 69.9% C 0.147 H 324.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CD1 |
|---|---|
| RGB | rgb(202, 124, 209) |
| HSL | hsl(295, 48%, 65%) |
| HSV | hsv(295, 41%, 82%) |
| CMYK | cmyk(3.3%, 40.7%, 0%, 18%) |
| CIE-LAB | lab(62.99, 43.57, -31.46) |
| CIE-LCH | lch(62.99, 53.74, 324.17°) |
| OKLab | oklab(69.86% 0.1187 -0.0861) |
| OKLCH | oklch(69.86% 0.147 324) |
| XYZ | xyz(43.0723, 31.5771, 64.1354) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.70
Orchid
#DA70D6
ΔE00 3.65
Lavender Pink
#DD85D7
ΔE00 4.14
Purply Pink
#F075E6
ΔE00 6.44
Violet (CSS)
#EE82EE
ΔE00 6.66
Wisteria
#A87DC2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CD1 #83D17C
analogous
#9F7CD1 #CA7CD1 #D17CAD
triadic
#CA7CD1 #D1CA7C #7CD1CA
tetradic
#CA7CD1 #D19F7C #83D17C #7CADD1
square
#CA7CD1 #D19F7C #83D17C #7CADD1
split-complementary
#CA7CD1 #ADD17C #7CD19F
monochromatic
#94379C #B84FC1 #CA7CD1 #DCA9E1 #EFD7F1
Accessibility & contrast
On white
2.87
#CA7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#CA7CD1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CD1
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CD1 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7392D4
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#CD859D
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ca7cd1; /* rgb */ color: rgb(202, 124, 209); /* oklch */ color: oklch(69.9% 0.147 324.0);
Tailwind
colors: {
custom: {
50: '#dba4df',
500: '#ca7cd1',
950: '#000000',
},
}SCSS
$custom: #ca7cd1; $custom-light: #dba4df; $custom-dark: #000000;
JSON
{
"hex": "#ca7cd1",
"rgb": {
"r": 202,
"g": 124,
"b": 209
},
"hsl": {
"h": 295.059,
"s": 48.023,
"l": 65.294
},
"oklch": {
"l": 0.69865,
"c": 0.14662,
"h": 324
},
"luminance": 0.31575
}Semantic roles & 50–950 ramp
primary
#CA7CD1
secondary
#C8E3C6
accent
#BB2A36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83