Skip to content
Vectorlight.net

#b54efd

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

HEX
#b54efd
RGB
181, 78, 253
HSL
275.31°, 97.77%, 64.9%
OKLCH
0.64 0.25 307.66
Names
—
Lists

Codes

FormatValue
HEX#b54efd
RGBrgb(181 78 253)
HSLhsl(275.31 97.77% 64.9%)
OKLCHoklch(0.64 0.25 307.66)
CMYKcmyk(28.46% 69.17% 0% 0.78%)
Android#ffb54efd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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