Skip to content

#d2cfd8

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

RGB
210, 207, 216
HSL
260°, 10%, 83%
CMYK
3, 4, 0, 15
Luminance
0.6329

Every format

HEX#d2cfd8
RGBrgb(210, 207, 216)
HSLhsl(260, 10%, 83%)
CMYKcmyk(3%, 4%, 0%, 15%)
LABlab(83.6 2.7 -4.1)
LCHlch(83.6 4.9 303.3)
OKLCHoklch(0.860 0.013 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cfd8 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#d2cfd8 on black: 13.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue84.7%

CMYK percentages

Cyan2.8%
Magenta4.2%
Yellow0.0%
Key (black)15.3%

Color previews

#d2cfd8 text on a black background

contrast 13.66:1

Card sample

#d2cfd8 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfd8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfd8 in the Color Lab