Skip to content
Vectorlight.net

#b54cfd

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

HEX
#b54cfd
RGB
181, 76, 253
HSL
275.59°, 97.79%, 64.51%
OKLCH
0.64 0.25 307.81
Names
—
Lists

Codes

FormatValue
HEX#b54cfd
RGBrgb(181 76 253)
HSLhsl(275.59 97.79% 64.51%)
OKLCHoklch(0.64 0.25 307.81)
CMYKcmyk(28.46% 69.96% 0% 0.78%)
Android#ffb54cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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