Skip to content
Vectorlight.net

#b548ec

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

HEX
#b548ec
RGB
181, 72, 236
HSL
279.88°, 81.19%, 60.39%
OKLCH
0.62 0.24 311.84
Names
—
Lists

Codes

FormatValue
HEX#b548ec
RGBrgb(181 72 236)
HSLhsl(279.88 81.19% 60.39%)
OKLCHoklch(0.62 0.24 311.84)
CMYKcmyk(23.31% 69.49% 0% 7.45%)
Android#ffb548ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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