Skip to content
Vectorlight.net

#b548cb

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

HEX
#b548cb
RGB
181, 72, 203
HSL
289.92°, 55.74%, 53.92%
OKLCH
0.6 0.21 320.52
Names
—
Lists

Codes

FormatValue
HEX#b548cb
RGBrgb(181 72 203)
HSLhsl(289.92 55.74% 53.92%)
OKLCHoklch(0.6 0.21 320.52)
CMYKcmyk(10.84% 64.53% 0% 20.39%)
Android#ffb548cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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