#CA7CDE#CA7CDE
#CA7CDE is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.160 H 319.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CDE |
|---|---|
| RGB | rgb(202, 124, 222) |
| HSL | hsl(288, 60%, 68%) |
| HSV | hsv(288, 44%, 87%) |
| CMYK | cmyk(9%, 44.1%, 0%, 12.9%) |
| CIE-LAB | lab(63.55, 46.09, -37.86) |
| CIE-LCH | lch(63.55, 59.65, 320.60°) |
| OKLab | oklab(70.46% 0.1211 -0.1045) |
| OKLCH | oklch(70.46% 0.16 319.2) |
| XYZ | xyz(44.7479, 32.2473, 72.9603) |
| Luminance | 0.3225 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.24
Orchid (survey)
#C875C4
ΔE00 4.94
Lavender Pink
#DD85D7
ΔE00 5.37
Light Purple
#BF77F6
ΔE00 5.61
Violet (CSS)
#EE82EE
ΔE00 6.28
Purply Pink
#F075E6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CDE #90DE7C
analogous
#997CDE #CA7CDE #DE7CC1
triadic
#CA7CDE #DECA7C #7CDECA
tetradic
#CA7CDE #DE997C #90DE7C #7CC1DE
square
#CA7CDE #DE997C #90DE7C #7CC1DE
split-complementary
#CA7CDE #C1DE7C #7CDE99
monochromatic
#972DB3 #B64BD2 #CA7CDE #DEADEA #F2DEF7
Accessibility & contrast
On white
2.82
#CA7CDE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#CA7CDE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CDE
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CDE | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D95E1
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#CB89A3
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ca7cde; /* rgb */ color: rgb(202, 124, 222); /* oklch */ color: oklch(70.5% 0.160 319.2);
Tailwind
colors: {
custom: {
50: '#dca4e8',
500: '#ca7cde',
950: '#000000',
},
}SCSS
$custom: #ca7cde; $custom-light: #dca4e8; $custom-dark: #000000;
JSON
{
"hex": "#ca7cde",
"rgb": {
"r": 202,
"g": 124,
"b": 222
},
"hsl": {
"h": 287.755,
"s": 59.756,
"l": 67.843
},
"oklch": {
"l": 0.70462,
"c": 0.15996,
"h": 319.2
},
"luminance": 0.32246
}Semantic roles & 50–950 ramp
primary
#CA7CDE
secondary
#D2EACC
accent
#C71E41
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84