Skip to content
Vectorlight.net

#9877bf

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

HEX
#9877bf
RGB
152, 119, 191
HSL
267.5°, 36%, 60.78%
OKLCH
0.63 0.11 304.48
Names
—
Lists

Codes

FormatValue
HEX#9877bf
RGBrgb(152 119 191)
HSLhsl(267.5 36% 60.78%)
OKLCHoklch(0.63 0.11 304.48)
CMYKcmyk(20.42% 37.7% 0% 25.1%)
Android#ff9877bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9877bf;
background-color: #9877bf;
bg-[#9877bf]