#CA9CD9#CA9CD9
#CA9CD9 is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.6% C 0.099 H 317.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9CD9 |
|---|---|
| RGB | rgb(202, 156, 217) |
| HSL | hsl(285, 45%, 73%) |
| HSV | hsv(285, 28%, 85%) |
| CMYK | cmyk(6.9%, 28.1%, 0%, 14.9%) |
| CIE-LAB | lab(70.42, 27.80, -24.47) |
| CIE-LCH | lch(70.42, 37.04, 318.64°) |
| OKLab | oklab(75.59% 0.0732 -0.0666) |
| OKLCH | oklch(75.59% 0.099 317.7) |
| XYZ | xyz(48.7682, 41.3442, 71.0434) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.83
Pale Purple
#B790D4
ΔE00 4.76
Lavender (survey)
#C79FEF
ΔE00 5.08
Lilac
#C8A2C8
ΔE00 5.67
Lavender
#B39DDB
ΔE00 5.97
Baby Purple
#CA9BF7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9CD9 #ABD99C
analogous
#AB9CD9 #CA9CD9 #D99CC9
triadic
#CA9CD9 #D9CA9C #9CD9CA
tetradic
#CA9CD9 #D9AB9C #ABD99C #9CC9D9
square
#CA9CD9 #D9AB9C #ABD99C #9CC9D9
split-complementary
#CA9CD9 #C9D99C #9CD9AB
monochromatic
#9A46B5 #B270C8 #CA9CD9 #E2C8EA #F3E9F7
Accessibility & contrast
On white
2.27
#CA9CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#CA9CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9CD9
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9CD9 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94A9DB
Deuteranopia (green-blind)
#9FAED7
Tritanopia (blue-blind)
#CAA3B2
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #ca9cd9; /* rgb */ color: rgb(202, 156, 217); /* oklch */ color: oklch(75.6% 0.099 317.7);
Tailwind
colors: {
custom: {
50: '#dab9e5',
500: '#ca9cd9',
950: '#000000',
},
}SCSS
$custom: #ca9cd9; $custom-light: #dab9e5; $custom-dark: #000000;
JSON
{
"hex": "#ca9cd9",
"rgb": {
"r": 202,
"g": 156,
"b": 217
},
"hsl": {
"h": 285.246,
"s": 44.526,
"l": 73.137
},
"oklch": {
"l": 0.75589,
"c": 0.09895,
"h": 317.7
},
"luminance": 0.41343
}Semantic roles & 50–950 ramp
primary
#CA9CD9
secondary
#E1EDDE
accent
#B82E50
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084