#CD9CD9#CD9CD9
#CD9CD9 is a light, moderate purple. Relative luminance 0.418; OKLCH L 75.9% C 0.101 H 319.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9CD9 |
|---|---|
| RGB | rgb(205, 156, 217) |
| HSL | hsl(288, 45%, 73%) |
| HSV | hsv(288, 28%, 85%) |
| CMYK | cmyk(5.5%, 28.1%, 0%, 14.9%) |
| CIE-LAB | lab(70.71, 28.77, -24.00) |
| CIE-LCH | lch(70.71, 37.46, 320.16°) |
| OKLab | oklab(75.88% 0.0766 -0.0652) |
| OKLCH | oklch(75.88% 0.101 319.6) |
| XYZ | xyz(49.5880, 41.7670, 71.0818) |
| Luminance | 0.4177 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.17
Pale Purple
#B790D4
ΔE00 5.27
Lavender (survey)
#C79FEF
ΔE00 5.49
Lilac
#C8A2C8
ΔE00 5.59
Lavender
#B39DDB
ΔE00 6.65
Baby Purple
#CA9BF7
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9CD9 #A8D99C
analogous
#AE9CD9 #CD9CD9 #D99CC6
triadic
#CD9CD9 #D9CD9C #9CD9CD
tetradic
#CD9CD9 #D9AE9C #A8D99C #9CC6D9
square
#CD9CD9 #D9AE9C #A8D99C #9CC6D9
split-complementary
#CD9CD9 #C6D99C #9CD9AE
monochromatic
#9F46B5 #B770C8 #CD9CD9 #E3C8EA #F4E9F7
Accessibility & contrast
On white
2.25
#CD9CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#CD9CD9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9CD9
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9CD9 | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95AADB
Deuteranopia (green-blind)
#A0AFD7
Tritanopia (blue-blind)
#CEA3B2
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cd9cd9; /* rgb */ color: rgb(205, 156, 217); /* oklch */ color: oklch(75.9% 0.101 319.6);
Tailwind
colors: {
custom: {
50: '#ddb9e5',
500: '#cd9cd9',
950: '#000000',
},
}SCSS
$custom: #cd9cd9; $custom-light: #ddb9e5; $custom-dark: #000000;
JSON
{
"hex": "#cd9cd9",
"rgb": {
"r": 205,
"g": 156,
"b": 217
},
"hsl": {
"h": 288.197,
"s": 44.526,
"l": 73.137
},
"oklch": {
"l": 0.75881,
"c": 0.10061,
"h": 319.6
},
"luminance": 0.41766
}Semantic roles & 50–950 ramp
primary
#CD9CD9
secondary
#E1EDDE
accent
#B82E49
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084