Skip to content
Vectorlight.net

#b158bb

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

HEX
#b158bb
RGB
177, 88, 187
HSL
293.94°, 42.13%, 53.92%
OKLCH
0.61 0.17 323.47
Names
—
Lists

Codes

FormatValue
HEX#b158bb
RGBrgb(177 88 187)
HSLhsl(293.94 42.13% 53.92%)
OKLCHoklch(0.61 0.17 323.47)
CMYKcmyk(5.35% 52.94% 0% 26.67%)
Android#ffb158bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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