Skip to content
Vectorlight.net

#b52bcc

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

HEX
#b52bcc
RGB
181, 43, 204
HSL
291.43°, 65.18%, 48.43%
OKLCH
0.57 0.24 321.33
Names
—
Lists

Codes

FormatValue
HEX#b52bcc
RGBrgb(181 43 204)
HSLhsl(291.43 65.18% 48.43%)
OKLCHoklch(0.57 0.24 321.33)
CMYKcmyk(11.27% 78.92% 0% 20%)
Android#ffb52bcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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