Skip to content
Vectorlight.net

#d2c8ec

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

HEX
#d2c8ec
RGB
210, 200, 236
HSL
256.67°, 48.65%, 85.49%
OKLCH
0.85 0.05 298.03
Names
—
Lists

Codes

FormatValue
HEX#d2c8ec
RGBrgb(210 200 236)
HSLhsl(256.67 48.65% 85.49%)
OKLCHoklch(0.85 0.05 298.03)
CMYKcmyk(11.02% 15.25% 0% 7.45%)
Android#ffd2c8ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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