#CD9CD7#CD9CD7
#CD9CD7 is a light, moderate purple. Relative luminance 0.417; OKLCH L 75.8% C 0.098 H 320.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9CD7 |
|---|---|
| RGB | rgb(205, 156, 215) |
| HSL | hsl(290, 42%, 73%) |
| HSV | hsv(290, 27%, 84%) |
| CMYK | cmyk(4.7%, 27.4%, 0%, 15.7%) |
| CIE-LAB | lab(70.64, 28.37, -23.01) |
| CIE-LCH | lch(70.64, 36.53, 320.96°) |
| OKLab | oklab(75.8% 0.076 -0.0624) |
| OKLCH | oklch(75.8% 0.098 320.6) |
| XYZ | xyz(49.3294, 41.6635, 69.7201) |
| Luminance | 0.4166 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.05
Lilac
#C8A2C8
ΔE00 5.17
Pale Purple
#B790D4
ΔE00 5.51
Lavender (survey)
#C79FEF
ΔE00 5.95
Lavender
#B39DDB
ΔE00 6.89
Lavender Pink
#DD85D7
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9CD7 #A6D79C
analogous
#B09CD7 #CD9CD7 #D79CC3
triadic
#CD9CD7 #D7CD9C #9CD7CD
tetradic
#CD9CD7 #D7B09C #A6D79C #9CC3D7
square
#CD9CD7 #D7B09C #A6D79C #9CC3D7
split-complementary
#CD9CD7 #C3D79C #9CD7B0
monochromatic
#9F48B1 #B770C5 #CD9CD7 #E3C8E9 #F4E9F6
Accessibility & contrast
On white
2.25
#CD9CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#CD9CD7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9CD7
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9CD7 | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96A9D9
Deuteranopia (green-blind)
#A1AFD5
Tritanopia (blue-blind)
#CEA2B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cd9cd7; /* rgb */ color: rgb(205, 156, 215); /* oklch */ color: oklch(75.8% 0.098 320.6);
Tailwind
colors: {
custom: {
50: '#ddb9e3',
500: '#cd9cd7',
950: '#000000',
},
}SCSS
$custom: #cd9cd7; $custom-light: #ddb9e3; $custom-dark: #000000;
JSON
{
"hex": "#cd9cd7",
"rgb": {
"r": 205,
"g": 156,
"b": 215
},
"hsl": {
"h": 289.831,
"s": 42.446,
"l": 72.745
},
"oklch": {
"l": 0.75803,
"c": 0.09838,
"h": 320.6
},
"luminance": 0.41662
}Semantic roles & 50–950 ramp
primary
#CD9CD7
secondary
#E0EDDE
accent
#B63047
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083