#CDC7DA#CDC7DA
#CDC7DA is a very light, muted violet. Relative luminance 0.589; OKLCH L 84.0% C 0.027 H 300.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC7DA |
|---|---|
| RGB | rgb(205, 199, 218) |
| HSL | hsl(259, 20%, 82%) |
| HSV | hsv(259, 9%, 85%) |
| CMYK | cmyk(6%, 8.7%, 0%, 14.5%) |
| CIE-LAB | lab(81.23, 5.62, -8.69) |
| CIE-LCH | lch(81.23, 10.35, 302.89°) |
| OKLab | oklab(84.03% 0.0135 -0.0233) |
| OKLCH | oklch(84.03% 0.027 300.2) |
| XYZ | xyz(58.2528, 58.8879, 74.6137) |
| Luminance | 0.5889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 7.06
Lavender (CSS)
#E6E6FA
ΔE00 7.35
Dove Gray
#B6B8BD
ΔE00 9.00
Light Gray
#D3D3D3
ΔE00 9.77
Silver
#C0C0C0
ΔE00 9.82
Periwinkle
#CCCCFF
ΔE00 9.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC7DA #D4DAC7
analogous
#C7CBDA #CDC7DA #D7C7DA
triadic
#CDC7DA #DACDC7 #C7DACD
tetradic
#CDC7DA #DAC7CB #D4DAC7 #C7DAD7
square
#CDC7DA #DAC7CB #D4DAC7 #C7DAD7
split-complementary
#CDC7DA #DAD7C7 #CBDAC7
monochromatic
#8B7DA9 #ACA2C2 #CDC7DA #EEECF2 #EFEDF3
Accessibility & contrast
On white
1.64
#CDC7DA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.78
#CDC7DA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC7DA
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC7DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC7DA | 1.00 | 1.64 | 12.78 | 12.78 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4CADB
Deuteranopia (green-blind)
#C5CAD9
Tritanopia (blue-blind)
#CBC9CD
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #cdc7da; /* rgb */ color: rgb(205, 199, 218); /* oklch */ color: oklch(84.0% 0.027 300.2);
Tailwind
colors: {
custom: {
50: '#dcd8e5',
500: '#cdc7da',
950: '#000000',
},
}SCSS
$custom: #cdc7da; $custom-light: #dcd8e5; $custom-dark: #000000;
JSON
{
"hex": "#cdc7da",
"rgb": {
"r": 205,
"g": 199,
"b": 218
},
"hsl": {
"h": 258.947,
"s": 20.43,
"l": 81.765
},
"oklch": {
"l": 0.84029,
"c": 0.02691,
"h": 300.2
},
"luminance": 0.58888
}Semantic roles & 50–950 ramp
primary
#CDC7DA
secondary
#A7B095
accent
#9F4783
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151415
muted
#848384