Skip to content

#d2cdd5

a light, muted violet · warm · closest name: silver

RGB
210, 205, 213
HSL
278°, 9%, 82%
CMYK
1, 4, 0, 17
Luminance
0.6217

Every format

HEX#d2cdd5
RGBrgb(210, 205, 213)
HSLhsl(278, 9%, 82%)
CMYKcmyk(1%, 4%, 0%, 17%)
LABlab(83.0 3.2 -3.4)
LCHlch(83.0 4.6 313.4)
OKLCHoklch(0.855 0.012 313.2)

Copy-ready code

/* CSS */
color: #d2cdd5;
background-color: #d2cdd5;
/* Tailwind (arbitrary) */
class="text-[#d2cdd5] bg-[#d2cdd5]"
/* SCSS */
$brand: #d2cdd5;
/* SwiftUI */
Color(red: 0.824, green: 0.804, blue: 0.835)
/* Android */
Color.parseColor("#d2cdd5")

Accessibility — WCAG contrast

Aa
#d2cdd5 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#d2cdd5 on black: 13.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.4%
Blue83.5%

CMYK percentages

Cyan1.4%
Magenta3.8%
Yellow0.0%
Key (black)16.5%

Color previews

#d2cdd5 text on a black background

contrast 13.43:1

Card sample

#d2cdd5 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d2cdd5;
Background color
Panel with #d2cdd5 background
background-color: #d2cdd5;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d2cdd5;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(210, 205, 213, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 205, 213, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2cdd5;
background: linear-gradient(135deg, #d2cdd5, #D5CDD3);

Monochromatic scale

Palettes built from #d2cdd5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cdd5 in the Color Lab