Skip to content
Vectorlight.net

#d9ccfc

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

HEX
#d9ccfc
RGB
217, 204, 252
HSL
256.25°, 88.89%, 89.41%
OKLCH
0.87 0.07 297.4
Names
—
Lists

Codes

FormatValue
HEX#d9ccfc
RGBrgb(217 204 252)
HSLhsl(256.25 88.89% 89.41%)
OKLCHoklch(0.87 0.07 297.4)
CMYKcmyk(13.89% 19.05% 0% 1.18%)
Android#ffd9ccfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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