Skip to content
Vectorlight.net

#b548ac

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

HEX
#b548ac
RGB
181, 72, 172
HSL
304.95°, 43.08%, 49.61%
OKLCH
0.58 0.18 331
Names
—
Lists

Codes

FormatValue
HEX#b548ac
RGBrgb(181 72 172)
HSLhsl(304.95 43.08% 49.61%)
OKLCHoklch(0.58 0.18 331)
CMYKcmyk(0% 60.22% 4.97% 29.02%)
Android#ffb548ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#b548ac"
Gradient stop
<stop stop-color="#b548ac"/>
CSS variable + fill
:root { --c: #b548ac; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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