Skip to content
Vectorlight.net

#d4b2ef

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

HEX
#d4b2ef
RGB
212, 178, 239
HSL
273.44°, 65.59%, 81.76%
OKLCH
0.81 0.09 309.7
Names
—
Lists

Codes

FormatValue
HEX#d4b2ef
RGBrgb(212 178 239)
HSLhsl(273.44 65.59% 81.76%)
OKLCHoklch(0.81 0.09 309.7)
CMYKcmyk(11.3% 25.52% 0% 6.27%)
Android#ffd4b2ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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