Skip to content
Vectorlight.net

#b525df

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

HEX
#b525df
RGB
181, 37, 223
HSL
286.45°, 74.4%, 50.98%
OKLCH
0.58 0.26 316.61
Names
—
Lists

Codes

FormatValue
HEX#b525df
RGBrgb(181 37 223)
HSLhsl(286.45 74.4% 50.98%)
OKLCHoklch(0.58 0.26 316.61)
CMYKcmyk(18.83% 83.41% 0% 12.55%)
Android#ffb525df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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