Skip to content
Vectorlight.net

#b54eff

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

HEX
#b54eff
RGB
181, 78, 255
HSL
274.92°, 100%, 65.29%
OKLCH
0.64 0.25 307.25
Names
—
Lists

Codes

FormatValue
HEX#b54eff
RGBrgb(181 78 255)
HSLhsl(274.92 100% 65.29%)
OKLCHoklch(0.64 0.25 307.25)
CMYKcmyk(29.02% 69.41% 0% 0%)
Android#ffb54eff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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