Skip to content
Vectorlight.net

#b152aa

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

HEX
#b152aa
RGB
177, 82, 170
HSL
304.42°, 37.85%, 50.78%
OKLCH
0.59 0.16 330.3
Names
—
Lists

Codes

FormatValue
HEX#b152aa
RGBrgb(177 82 170)
HSLhsl(304.42 37.85% 50.78%)
OKLCHoklch(0.59 0.16 330.3)
CMYKcmyk(0% 53.67% 3.95% 30.59%)
Android#ffb152aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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