Skip to content
Vectorlight.net

#d4bfef

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

HEX
#d4bfef
RGB
212, 191, 239
HSL
266.25°, 60%, 84.31%
OKLCH
0.84 0.07 304.81
Names
—
Lists

Codes

FormatValue
HEX#d4bfef
RGBrgb(212 191 239)
HSLhsl(266.25 60% 84.31%)
OKLCHoklch(0.84 0.07 304.81)
CMYKcmyk(11.3% 20.08% 0% 6.27%)
Android#ffd4bfef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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