Skip to content
Vectorlight.net

#b158ad

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

HEX
#b158ad
RGB
177, 88, 173
HSL
302.7°, 36.33%, 51.96%
OKLCH
0.6 0.16 329.02
Names
—
Lists

Codes

FormatValue
HEX#b158ad
RGBrgb(177 88 173)
HSLhsl(302.7 36.33% 51.96%)
OKLCHoklch(0.6 0.16 329.02)
CMYKcmyk(0% 50.28% 2.26% 30.59%)
Android#ffb158ad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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