Skip to content
Vectorlight.net

#d8defe

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

HEX
#d8defe
RGB
216, 222, 254
HSL
230.53°, 95%, 92.16%
OKLCH
0.91 0.04 277.08
Names
—
Lists

Codes

FormatValue
HEX#d8defe
RGBrgb(216 222 254)
HSLhsl(230.53 95% 92.16%)
OKLCHoklch(0.91 0.04 277.08)
CMYKcmyk(14.96% 12.6% 0% 0.39%)
Android#ffd8defe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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