Skip to content

#d2cfd7

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

RGB
210, 207, 215
HSL
263°, 9%, 83%
CMYK
2, 4, 0, 16
Luminance
0.6323

Every format

HEX#d2cfd7
RGBrgb(210, 207, 215)
HSLhsl(263, 9%, 83%)
CMYKcmyk(2%, 4%, 0%, 16%)
LABlab(83.6 2.5 -3.6)
LCHlch(83.6 4.4 304.7)
OKLCHoklch(0.859 0.011 303.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue84.3%

CMYK percentages

Cyan2.3%
Magenta3.7%
Yellow0.0%
Key (black)15.7%

Color previews

#d2cfd7 text on a black background

contrast 13.65:1

Card sample

#d2cfd7 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfd7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfd7 in the Color Lab