Skip to content
Vectorlight.net

#b52ebe

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

HEX
#b52ebe
RGB
181, 46, 190
HSL
296.25°, 61.02%, 46.27%
OKLCH
0.57 0.23 325.27
Names
—
Lists

Codes

FormatValue
HEX#b52ebe
RGBrgb(181 46 190)
HSLhsl(296.25 61.02% 46.27%)
OKLCHoklch(0.57 0.23 325.27)
CMYKcmyk(4.74% 75.79% 0% 25.49%)
Android#ffb52ebe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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