Skip to content
Vectorlight.net

#b548d6

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

HEX
#b548d6
RGB
181, 72, 214
HSL
286.06°, 63.39%, 56.08%
OKLCH
0.61 0.22 317.39
Names
—
Lists

Codes

FormatValue
HEX#b548d6
RGBrgb(181 72 214)
HSLhsl(286.06 63.39% 56.08%)
OKLCHoklch(0.61 0.22 317.39)
CMYKcmyk(15.42% 66.36% 0% 16.08%)
Android#ffb548d6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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