Skip to content
Vectorlight.net

#d7c2ec

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

HEX
#d7c2ec
RGB
215, 194, 236
HSL
270°, 52.5%, 84.31%
OKLCH
0.84 0.06 307.65
Names
—
Lists

Codes

FormatValue
HEX#d7c2ec
RGBrgb(215 194 236)
HSLhsl(270 52.5% 84.31%)
OKLCHoklch(0.84 0.06 307.65)
CMYKcmyk(8.9% 17.8% 0% 7.45%)
Android#ffd7c2ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.81: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="#d7c2ec"
Gradient stop
<stop stop-color="#d7c2ec"/>
CSS variable + fill
:root { --c: #d7c2ec; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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