#CD9CD6#CD9CD6
#CD9CD6 is a light, moderate purple. Relative luminance 0.416; OKLCH L 75.8% C 0.097 H 321.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9CD6 |
|---|---|
| RGB | rgb(205, 156, 214) |
| HSL | hsl(291, 41%, 73%) |
| HSV | hsv(291, 27%, 84%) |
| CMYK | cmyk(4.2%, 27.1%, 0%, 16.1%) |
| CIE-LAB | lab(70.60, 28.18, -22.51) |
| CIE-LCH | lch(70.60, 36.07, 321.38°) |
| OKLab | oklab(75.76% 0.0757 -0.061) |
| OKLCH | oklch(75.76% 0.097 321.1) |
| XYZ | xyz(49.2013, 41.6123, 69.0454) |
| Luminance | 0.4161 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.02
Lilac
#C8A2C8
ΔE00 4.96
Pale Purple
#B790D4
ΔE00 5.64
Lavender (survey)
#C79FEF
ΔE00 6.18
Lavender
#B39DDB
ΔE00 7.02
Lavender Pink
#DD85D7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9CD6 #A5D69C
analogous
#B09CD6 #CD9CD6 #D69CC2
triadic
#CD9CD6 #D6CD9C #9CD6CD
tetradic
#CD9CD6 #D6B09C #A5D69C #9CC2D6
square
#CD9CD6 #D6B09C #A5D69C #9CC2D6
split-complementary
#CD9CD6 #C2D69C #9CD6B0
monochromatic
#9F49AF #B771C4 #CD9CD6 #E3C7E8 #F4E9F6
Accessibility & contrast
On white
2.25
#CD9CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#CD9CD6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9CD6
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9CD6 | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96A9D8
Deuteranopia (green-blind)
#A1AFD4
Tritanopia (blue-blind)
#CFA2B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cd9cd6; /* rgb */ color: rgb(205, 156, 214); /* oklch */ color: oklch(75.8% 0.097 321.1);
Tailwind
colors: {
custom: {
50: '#ddb9e2',
500: '#cd9cd6',
950: '#000000',
},
}SCSS
$custom: #cd9cd6; $custom-light: #ddb9e2; $custom-dark: #000000;
JSON
{
"hex": "#cd9cd6",
"rgb": {
"r": 205,
"g": 156,
"b": 214
},
"hsl": {
"h": 290.69,
"s": 41.429,
"l": 72.549
},
"oklch": {
"l": 0.75764,
"c": 0.09728,
"h": 321.1
},
"luminance": 0.41611
}Semantic roles & 50–950 ramp
primary
#CD9CD6
secondary
#E0EDDE
accent
#B43145
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083