#CDC8D9#CDC8D9
#CDC8D9 is a very light, muted violet. Relative luminance 0.593; OKLCH L 84.2% C 0.024 H 299.3°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC8D9 |
|---|---|
| RGB | rgb(205, 200, 217) |
| HSL | hsl(258, 18%, 82%) |
| HSV | hsv(258, 8%, 85%) |
| CMYK | cmyk(5.5%, 7.8%, 0%, 14.9%) |
| CIE-LAB | lab(81.45, 4.89, -7.82) |
| CIE-LCH | lch(81.45, 9.22, 302.04°) |
| OKLab | oklab(84.2% 0.0117 -0.0209) |
| OKLCH | oklch(84.2% 0.024 299.3) |
| XYZ | xyz(58.3532, 59.2974, 74.0035) |
| Luminance | 0.5930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 7.10
Thistle
#D8BFD8
ΔE00 7.77
Dove Gray
#B6B8BD
ΔE00 8.32
Light Gray
#D3D3D3
ΔE00 8.88
Silver
#C0C0C0
ΔE00 9.02
Fog
#D8DCE0
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC8D9 #D4D9C8
analogous
#C8CCD9 #CDC8D9 #D6C8D9
triadic
#CDC8D9 #D9CDC8 #C8D9CD
tetradic
#CDC8D9 #D9C8CC #D4D9C8 #C8D9D6
square
#CDC8D9 #D9C8CC #D4D9C8 #C8D9D6
split-complementary
#CDC8D9 #D9D6C8 #CCD9C8
monochromatic
#8B80A7 #ACA4C0 #CDC8D9 #EEECF2 #EFEDF2
Accessibility & contrast
On white
1.63
#CDC8D9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.86
#CDC8D9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC8D9
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC8D9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC8D9 | 1.00 | 1.63 | 12.86 | 12.86 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5CADA
Deuteranopia (green-blind)
#C6CAD8
Tritanopia (blue-blind)
#CBCACD
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cdc8d9; /* rgb */ color: rgb(205, 200, 217); /* oklch */ color: oklch(84.2% 0.024 299.3);
Tailwind
colors: {
custom: {
50: '#dcd8e4',
500: '#cdc8d9',
950: '#000000',
},
}SCSS
$custom: #cdc8d9; $custom-light: #dcd8e4; $custom-dark: #000000;
JSON
{
"hex": "#cdc8d9",
"rgb": {
"r": 205,
"g": 200,
"b": 217
},
"hsl": {
"h": 257.647,
"s": 18.28,
"l": 81.765
},
"oklch": {
"l": 0.84195,
"c": 0.02398,
"h": 299.3
},
"luminance": 0.59297
}Semantic roles & 50–950 ramp
primary
#CDC8D9
secondary
#A7AE97
accent
#9D4984
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151415
muted
#848384