Skip to content
Vectorlight.net

#dcd7ec

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#dcd7ec
RGB
220, 215, 236
HSL
254.29°, 35.59%, 88.43%
OKLCH
0.89 0.03 296.71
Names
—
Lists

Codes

FormatValue
HEX#dcd7ec
RGBrgb(220 215 236)
HSLhsl(254.29 35.59% 88.43%)
OKLCHoklch(0.89 0.03 296.71)
CMYKcmyk(6.78% 8.9% 0% 7.45%)
Android#ffdcd7ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.40:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
14.97:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#dcd7ec"
Gradient stop
<stop stop-color="#dcd7ec"/>
CSS variable + fill
:root { --c: #dcd7ec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #dcd7ec;
background-color: #dcd7ec;
bg-[#dcd7ec]