#CD9CD2#CD9CD2
#CD9CD2 is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.6% C 0.093 H 323.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9CD2 |
|---|---|
| RGB | rgb(205, 156, 210) |
| HSL | hsl(294, 38%, 72%) |
| HSV | hsv(294, 26%, 82%) |
| CMYK | cmyk(2.4%, 25.7%, 0%, 17.6%) |
| CIE-LAB | lab(70.46, 27.41, -20.52) |
| CIE-LCH | lch(70.46, 34.24, 323.18°) |
| OKLab | oklab(75.61% 0.0746 -0.0555) |
| OKLCH | oklch(75.61% 0.093 323.3) |
| XYZ | xyz(48.6968, 41.4105, 66.3881) |
| Luminance | 0.4141 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.10
Lilac
#C8A2C8
ΔE00 4.14
Pale Purple
#B790D4
ΔE00 6.25
Lavender (survey)
#C79FEF
ΔE00 7.14
Lavender Pink
#DD85D7
ΔE00 7.30
Lavender
#B39DDB
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9CD2 #A1D29C
analogous
#B29CD2 #CD9CD2 #D29CBC
triadic
#CD9CD2 #D2CD9C #9CD2CD
tetradic
#CD9CD2 #D2B29C #A1D29C #9CBCD2
square
#CD9CD2 #D2B29C #A1D29C #9CBCD2
split-complementary
#CD9CD2 #BCD29C #9CD2B2
monochromatic
#9F4CA7 #B872BF #CD9CD2 #E2C6E5 #F4EAF5
Accessibility & contrast
On white
2.26
#CD9CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#CD9CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9CD2
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9CD2 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97A9D4
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#CFA1AF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #cd9cd2; /* rgb */ color: rgb(205, 156, 210); /* oklch */ color: oklch(75.6% 0.093 323.3);
Tailwind
colors: {
custom: {
50: '#ddb9e0',
500: '#cd9cd2',
950: '#000000',
},
}SCSS
$custom: #cd9cd2; $custom-light: #ddb9e0; $custom-dark: #000000;
JSON
{
"hex": "#cd9cd2",
"rgb": {
"r": 205,
"g": 156,
"b": 210
},
"hsl": {
"h": 294.444,
"s": 37.5,
"l": 71.765
},
"oklch": {
"l": 0.75611,
"c": 0.09295,
"h": 323.3
},
"luminance": 0.41409
}Semantic roles & 50–950 ramp
primary
#CD9CD2
secondary
#DFECDE
accent
#B03540
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083