Skip to content
Vectorlight.net

#b987bb

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

HEX
#b987bb
RGB
185, 135, 187
HSL
297.69°, 27.66%, 63.14%
OKLCH
0.69 0.09 325.26
Names
—
Lists

Codes

FormatValue
HEX#b987bb
RGBrgb(185 135 187)
HSLhsl(297.69 27.66% 63.14%)
OKLCHoklch(0.69 0.09 325.26)
CMYKcmyk(1.07% 27.81% 0% 26.67%)
Android#ffb987bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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