#CD9DCD#CD9DCD
#CD9DCD is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.6% C 0.086 H 326.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9DCD |
|---|---|
| RGB | rgb(205, 157, 205) |
| HSL | hsl(300, 32%, 71%) |
| HSV | hsv(300, 23%, 80%) |
| CMYK | cmyk(0%, 23.4%, 0%, 19.6%) |
| CIE-LAB | lab(70.53, 25.91, -17.66) |
| CIE-LCH | lch(70.53, 31.36, 325.72°) |
| OKLab | oklab(75.6% 0.0715 -0.0475) |
| OKLCH | oklch(75.6% 0.086 326.4) |
| XYZ | xyz(48.2521, 41.5022, 63.2147) |
| Luminance | 0.4150 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 2.94
Plum
#DDA0DD
ΔE00 3.75
Pale Purple
#B790D4
ΔE00 7.35
Lavender Pink
#DD85D7
ΔE00 8.13
Lavender
#B39DDB
ΔE00 8.44
Lavender (survey)
#C79FEF
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9DCD #9DCD9D
analogous
#B59DCD #CD9DCD #CD9DB5
triadic
#CD9DCD #CDCD9D #9DCDCD
tetradic
#CD9DCD #CDB59D #9DCD9D #9DB5CD
square
#CD9DCD #CDB59D #9DCD9D #9DB5CD
split-complementary
#CD9DCD #B5CD9D #9DCDB5
monochromatic
#9F519F #B874B8 #CD9DCD #E2C6E2 #F5EBF5
Accessibility & contrast
On white
2.26
#CD9DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#CD9DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9DCD
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9DCD | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AA9CF
Deuteranopia (green-blind)
#A5AFCB
Tritanopia (blue-blind)
#D0A1AE
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cd9dcd; /* rgb */ color: rgb(205, 157, 205); /* oklch */ color: oklch(75.6% 0.086 326.4);
Tailwind
colors: {
custom: {
50: '#dcbadc',
500: '#cd9dcd',
950: '#000000',
},
}SCSS
$custom: #cd9dcd; $custom-light: #dcbadc; $custom-dark: #000000;
JSON
{
"hex": "#cd9dcd",
"rgb": {
"r": 205,
"g": 157,
"b": 205
},
"hsl": {
"h": 300,
"s": 32.432,
"l": 70.98
},
"oklch": {
"l": 0.75603,
"c": 0.08589,
"h": 326.4
},
"luminance": 0.41501
}Semantic roles & 50–950 ramp
primary
#CD9DCD
secondary
#DDE9DD
accent
#AB3A3A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083