Skip to content
Vectorlight.net

#b987c7

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

HEX
#b987c7
RGB
185, 135, 199
HSL
286.88°, 36.36%, 65.49%
OKLCH
0.69 0.11 318.72
Names
—
Lists

Codes

FormatValue
HEX#b987c7
RGBrgb(185 135 199)
HSLhsl(286.88 36.36% 65.49%)
OKLCHoklch(0.69 0.11 318.72)
CMYKcmyk(7.04% 32.16% 0% 21.96%)
Android#ffb987c7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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