Skip to content
Vectorlight.net

#d2c9fe

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

HEX
#d2c9fe
RGB
210, 201, 254
HSL
250.19°, 96.36%, 89.22%
OKLCH
0.86 0.07 292.57
Names
—
Lists

Codes

FormatValue
HEX#d2c9fe
RGBrgb(210 201 254)
HSLhsl(250.19 96.36% 89.22%)
OKLCHoklch(0.86 0.07 292.57)
CMYKcmyk(17.32% 20.87% 0% 0.39%)
Android#ffd2c9fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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