Skip to content
Vectorlight.net

#b54abe

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

HEX
#b54abe
RGB
181, 74, 190
HSL
295.34°, 47.15%, 51.76%
OKLCH
0.59 0.2 324.53
Names
—
Lists

Codes

FormatValue
HEX#b54abe
RGBrgb(181 74 190)
HSLhsl(295.34 47.15% 51.76%)
OKLCHoklch(0.59 0.2 324.53)
CMYKcmyk(4.74% 61.05% 0% 25.49%)
Android#ffb54abe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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