#CDC2D7#CDC2D7
#CDC2D7 is a very light, muted violet. Relative luminance 0.565; OKLCH L 82.9% C 0.031 H 309.0°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC2D7 |
|---|---|
| RGB | rgb(205, 194, 215) |
| HSL | hsl(271, 21%, 80%) |
| HSV | hsv(271, 10%, 84%) |
| CMYK | cmyk(4.7%, 9.8%, 0%, 15.7%) |
| CIE-LAB | lab(79.88, 7.71, -9.08) |
| CIE-LCH | lch(79.88, 11.91, 310.32°) |
| OKLab | oklab(82.95% 0.0197 -0.0243) |
| OKLCH | oklch(82.95% 0.031 309) |
| XYZ | xyz(56.7323, 56.4692, 72.1877) |
| Luminance | 0.5647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 4.86
Lavender (CSS)
#E6E6FA
ΔE00 9.12
Pale Lilac
#E4CBFF
ΔE00 9.98
Periwinkle
#CCCCFF
ΔE00 10.09
Pale Lavender
#EECFFE
ΔE00 10.10
Dove Gray
#B6B8BD
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC2D7 #CCD7C2
analogous
#C2C2D7 #CDC2D7 #D7C2D6
triadic
#CDC2D7 #D7CDC2 #C2D7CD
tetradic
#CDC2D7 #D7C2C2 #CCD7C2 #C2D6D7
square
#CDC2D7 #D7C2C2 #CCD7C2 #C2D6D7
split-complementary
#CDC2D7 #D6D7C2 #C2D7C2
monochromatic
#9078A7 #AF9DBF #CDC2D7 #EBE7EF #F0EDF3
Accessibility & contrast
On white
1.71
#CDC2D7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.29
#CDC2D7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC2D7
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC2D7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC2D7 | 1.00 | 1.71 | 12.29 | 12.29 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFC5D8
Deuteranopia (green-blind)
#C1C6D6
Tritanopia (blue-blind)
#CCC4C9
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #cdc2d7; /* rgb */ color: rgb(205, 194, 215); /* oklch */ color: oklch(82.9% 0.031 309.0);
Tailwind
colors: {
custom: {
50: '#dcd4e3',
500: '#cdc2d7',
950: '#000000',
},
}SCSS
$custom: #cdc2d7; $custom-light: #dcd4e3; $custom-dark: #000000;
JSON
{
"hex": "#cdc2d7",
"rgb": {
"r": 205,
"g": 194,
"b": 215
},
"hsl": {
"h": 271.429,
"s": 20.792,
"l": 80.196
},
"oklch": {
"l": 0.82945,
"c": 0.03127,
"h": 309
},
"luminance": 0.56469
}Semantic roles & 50–950 ramp
primary
#CDC2D7
secondary
#9EAD91
accent
#9F4671
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151415
muted
#848384