Skip to content
Vectorlight.net

#d8b2ef

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

HEX
#d8b2ef
RGB
216, 178, 239
HSL
277.38°, 65.59%, 81.76%
OKLCH
0.82 0.09 312.47
Names
—
Lists

Codes

FormatValue
HEX#d8b2ef
RGBrgb(216 178 239)
HSLhsl(277.38 65.59% 81.76%)
OKLCHoklch(0.82 0.09 312.47)
CMYKcmyk(9.62% 25.52% 0% 6.27%)
Android#ffd8b2ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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