Skip to content
Vectorlight.net

#d7bae7

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

HEX
#d7bae7
RGB
215, 186, 231
HSL
278.67°, 48.39%, 81.76%
OKLCH
0.83 0.07 313.54
Names
—
Lists

Codes

FormatValue
HEX#d7bae7
RGBrgb(215 186 231)
HSLhsl(278.67 48.39% 81.76%)
OKLCHoklch(0.83 0.07 313.54)
CMYKcmyk(6.93% 19.48% 0% 9.41%)
Android#ffd7bae7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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