Skip to content

#dcc7df

a light, soft magenta / pink · warm · closest name: lavender

RGB
220, 199, 223
HSL
293°, 27%, 83%
CMYK
1, 11, 0, 13
Luminance
0.6139

Every format

HEX#dcc7df
RGBrgb(220, 199, 223)
HSLhsl(293, 27%, 83%)
CMYKcmyk(1%, 11%, 0%, 13%)
LABlab(82.6 11.6 -9.2)
LCHlch(82.6 14.8 321.5)
OKLCHoklch(0.854 0.040 322.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcc7df on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dcc7df on black: 13.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green78.0%
Blue87.5%

CMYK percentages

Cyan1.3%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#dcc7df text on a black background

contrast 13.28:1

Card sample

#dcc7df text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 199, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 199, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcc7df;
background: linear-gradient(135deg, #dcc7df, #DFC7D2);

Monochromatic scale

Palettes built from #dcc7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcc7df in the Color Lab