#CDC8DA#CDC8DA
#CDC8DA is a very light, muted violet. Relative luminance 0.594; OKLCH L 84.2% C 0.025 H 298.5°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC8DA |
|---|---|
| RGB | rgb(205, 200, 218) |
| HSL | hsl(257, 20%, 82%) |
| HSV | hsv(257, 8%, 85%) |
| CMYK | cmyk(6%, 8.3%, 0%, 14.5%) |
| CIE-LAB | lab(81.48, 5.09, -8.31) |
| CIE-LCH | lch(81.48, 9.74, 301.47°) |
| OKLab | oklab(84.23% 0.0121 -0.0222) |
| OKLCH | oklch(84.23% 0.025 298.5) |
| XYZ | xyz(58.4837, 59.3496, 74.6906) |
| Luminance | 0.5935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 7.05
Thistle
#D8BFD8
ΔE00 7.62
Dove Gray
#B6B8BD
ΔE00 8.60
Light Gray
#D3D3D3
ΔE00 9.23
Silver
#C0C0C0
ΔE00 9.37
Fog
#D8DCE0
ΔE00 9.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC8DA #D5DAC8
analogous
#C8CCDA #CDC8DA #D6C8DA
triadic
#CDC8DA #DACDC8 #C8DACD
tetradic
#CDC8DA #DAC8CC #D5DAC8 #C8DAD6
square
#CDC8DA #DAC8CC #D5DAC8 #C8DAD6
split-complementary
#CDC8DA #DAD6C8 #CCDAC8
monochromatic
#8A7FA9 #ACA3C1 #CDC8DA #EEEDF3 #EEEDF3
Accessibility & contrast
On white
1.63
#CDC8DA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.87
#CDC8DA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC8DA
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC8DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC8DA | 1.00 | 1.63 | 12.87 | 12.87 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5CADB
Deuteranopia (green-blind)
#C5CAD9
Tritanopia (blue-blind)
#CBCACE
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cdc8da; /* rgb */ color: rgb(205, 200, 218); /* oklch */ color: oklch(84.2% 0.025 298.5);
Tailwind
colors: {
custom: {
50: '#dcd8e5',
500: '#cdc8da',
950: '#000000',
},
}SCSS
$custom: #cdc8da; $custom-light: #dcd8e5; $custom-dark: #000000;
JSON
{
"hex": "#cdc8da",
"rgb": {
"r": 205,
"g": 200,
"b": 218
},
"hsl": {
"h": 256.667,
"s": 19.565,
"l": 81.961
},
"oklch": {
"l": 0.84227,
"c": 0.02532,
"h": 298.5
},
"luminance": 0.5935
}Semantic roles & 50–950 ramp
primary
#CDC8DA
secondary
#A9B097
accent
#9E4886
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151415
muted
#848384