Skip to content
Vectorlight.net

#b987ed

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

HEX
#b987ed
RGB
185, 135, 237
HSL
269.41°, 73.91%, 72.94%
OKLCH
0.71 0.15 305.48
Names
—
Lists

Codes

FormatValue
HEX#b987ed
RGBrgb(185 135 237)
HSLhsl(269.41 73.91% 72.94%)
OKLCHoklch(0.71 0.15 305.48)
CMYKcmyk(21.94% 43.04% 0% 7.06%)
Android#ffb987ed

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

Recolor an SVG with this color

CSS

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