Skip to content
Vectorlight.net

#b52fed

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

HEX
#b52fed
RGB
181, 47, 237
HSL
282.32°, 84.07%, 55.69%
OKLCH
0.6 0.27 312.97
Names
—
Lists

Codes

FormatValue
HEX#b52fed
RGBrgb(181 47 237)
HSLhsl(282.32 84.07% 55.69%)
OKLCHoklch(0.6 0.27 312.97)
CMYKcmyk(23.63% 80.17% 0% 7.06%)
Android#ffb52fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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