Skip to content
Vectorlight.net

#d8ccfe

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

HEX
#d8ccfe
RGB
216, 204, 254
HSL
254.4°, 96.15%, 89.8%
OKLCH
0.87 0.07 295.93
Names
—
Lists

Codes

FormatValue
HEX#d8ccfe
RGBrgb(216 204 254)
HSLhsl(254.4 96.15% 89.8%)
OKLCHoklch(0.87 0.07 295.93)
CMYKcmyk(14.96% 19.69% 0% 0.39%)
Android#ffd8ccfe

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.98: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="#d8ccfe"
Gradient stop
<stop stop-color="#d8ccfe"/>
CSS variable + fill
:root { --c: #d8ccfe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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