Skip to content
Vectorlight.net

#b52eba

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

HEX
#b52eba
RGB
181, 46, 186
HSL
297.86°, 60.34%, 45.49%
OKLCH
0.57 0.23 326.48
Names
—
Lists

Codes

FormatValue
HEX#b52eba
RGBrgb(181 46 186)
HSLhsl(297.86 60.34% 45.49%)
OKLCHoklch(0.57 0.23 326.48)
CMYKcmyk(2.69% 75.27% 0% 27.06%)
Android#ffb52eba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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