Skip to content
Vectorlight.net

#b987ef

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

HEX
#b987ef
RGB
185, 135, 239
HSL
268.85°, 76.47%, 73.33%
OKLCH
0.71 0.15 304.98
Names
—
Lists

Codes

FormatValue
HEX#b987ef
RGBrgb(185 135 239)
HSLhsl(268.85 76.47% 73.33%)
OKLCHoklch(0.71 0.15 304.98)
CMYKcmyk(22.59% 43.51% 0% 6.27%)
Android#ffb987ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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