Skip to content
Vectorlight.net

#b528db

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

HEX
#b528db
RGB
181, 40, 219
HSL
287.26°, 71.31%, 50.78%
OKLCH
0.58 0.26 317.51
Names
—
Lists

Codes

FormatValue
HEX#b528db
RGBrgb(181 40 219)
HSLhsl(287.26 71.31% 50.78%)
OKLCHoklch(0.58 0.26 317.51)
CMYKcmyk(17.35% 81.74% 0% 14.12%)
Android#ffb528db

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.89: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="#b528db"
Gradient stop
<stop stop-color="#b528db"/>
CSS variable + fill
:root { --c: #b528db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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