Skip to content
Vectorlight.net

#b548e4

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

HEX
#b548e4
RGB
181, 72, 228
HSL
281.92°, 74.29%, 58.82%
OKLCH
0.61 0.23 313.76
Names
—
Lists

Codes

FormatValue
HEX#b548e4
RGBrgb(181 72 228)
HSLhsl(281.92 74.29% 58.82%)
OKLCHoklch(0.61 0.23 313.76)
CMYKcmyk(20.61% 68.42% 0% 10.59%)
Android#ffb548e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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