Skip to content
Vectorlight.net

#b526da

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

HEX
#b526da
RGB
181, 38, 218
HSL
287.67°, 70.87%, 50.2%
OKLCH
0.58 0.26 317.81
Names
—
Lists

Codes

FormatValue
HEX#b526da
RGBrgb(181 38 218)
HSLhsl(287.67 70.87% 50.2%)
OKLCHoklch(0.58 0.26 317.81)
CMYKcmyk(16.97% 82.57% 0% 14.51%)
Android#ffb526da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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