Skip to content

#d2cfd9

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

RGB
210, 207, 217
HSL
258°, 12%, 83%
CMYK
3, 5, 0, 15
Luminance
0.6334

Every format

HEX#d2cfd9
RGBrgb(210, 207, 217)
HSLhsl(258, 12%, 83%)
CMYKcmyk(3%, 5%, 0%, 15%)
LABlab(83.6 2.9 -4.6)
LCHlch(83.6 5.4 302.1)
OKLCHoklch(0.860 0.014 299.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue85.1%

CMYK percentages

Cyan3.2%
Magenta4.6%
Yellow0.0%
Key (black)14.9%

Color previews

#d2cfd9 text on a black background

contrast 13.67:1

Card sample

#d2cfd9 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfd9 in the Color Lab