Skip to content
Vectorlight.net

#987cbe

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

HEX
#987cbe
RGB
152, 124, 190
HSL
265.45°, 33.67%, 61.57%
OKLCH
0.64 0.1 303.14
Names
—
Lists

Codes

FormatValue
HEX#987cbe
RGBrgb(152 124 190)
HSLhsl(265.45 33.67% 61.57%)
OKLCHoklch(0.64 0.1 303.14)
CMYKcmyk(20% 34.74% 0% 25.49%)
Android#ff987cbe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #987cbe;
background-color: #987cbe;
bg-[#987cbe]