Skip to content
Vectorlight.net

#b987ee

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

HEX
#b987ee
RGB
185, 135, 238
HSL
269.13°, 75.18%, 73.14%
OKLCH
0.71 0.15 305.22
Names
—
Lists

Codes

FormatValue
HEX#b987ee
RGBrgb(185 135 238)
HSLhsl(269.13 75.18% 73.14%)
OKLCHoklch(0.71 0.15 305.22)
CMYKcmyk(22.27% 43.28% 0% 6.67%)
Android#ffb987ee

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.76: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="#b987ee"
Gradient stop
<stop stop-color="#b987ee"/>
CSS variable + fill
:root { --c: #b987ee; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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