#CDA1CD#CDA1CD
#CDA1CD is a light, moderate purple. Relative luminance 0.429; OKLCH L 76.3% C 0.079 H 326.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CDA1CD |
|---|---|
| RGB | rgb(205, 161, 205) |
| HSL | hsl(300, 31%, 72%) |
| HSV | hsv(300, 21%, 80%) |
| CMYK | cmyk(0%, 21.5%, 0%, 19.6%) |
| CIE-LAB | lab(71.47, 23.72, -16.23) |
| CIE-LCH | lch(71.47, 28.74, 325.61°) |
| OKLab | oklab(76.33% 0.0654 -0.0436) |
| OKLCH | oklch(76.33% 0.079 326.3) |
| XYZ | xyz(48.9399, 42.8779, 63.4440) |
| Luminance | 0.4288 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 1.81
Plum
#DDA0DD
ΔE00 4.43
Pale Purple
#B790D4
ΔE00 8.19
Lavender
#B39DDB
ΔE00 8.63
Lavender (survey)
#C79FEF
ΔE00 9.01
Thistle
#D8BFD8
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDA1CD #A1CDA1
analogous
#B7A1CD #CDA1CD #CDA1B7
triadic
#CDA1CD #CDCDA1 #A1CDCD
tetradic
#CDA1CD #CDB7A1 #A1CDA1 #A1B7CD
square
#CDA1CD #CDB7A1 #A1CDA1 #A1B7CD
split-complementary
#CDA1CD #B7CDA1 #A1CDB7
monochromatic
#9F559F #B879B8 #CDA1CD #E2C9E2 #F4EBF4
Accessibility & contrast
On white
2.19
#CDA1CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#CDA1CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDA1CD
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDA1CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDA1CD | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9EACCF
Deuteranopia (green-blind)
#A8B1CB
Tritanopia (blue-blind)
#D0A5B0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cda1cd; /* rgb */ color: rgb(205, 161, 205); /* oklch */ color: oklch(76.3% 0.079 326.3);
Tailwind
colors: {
custom: {
50: '#dcbddc',
500: '#cda1cd',
950: '#000000',
},
}SCSS
$custom: #cda1cd; $custom-light: #dcbddc; $custom-dark: #000000;
JSON
{
"hex": "#cda1cd",
"rgb": {
"r": 205,
"g": 161,
"b": 205
},
"hsl": {
"h": 300,
"s": 30.556,
"l": 71.765
},
"oklch": {
"l": 0.76329,
"c": 0.07866,
"h": 326.3
},
"luminance": 0.42877
}Semantic roles & 50–950 ramp
primary
#CDA1CD
secondary
#DFEADF
accent
#A93C3C
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183