Skip to content
Vectorlight.net

#b542ff

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

HEX
#b542ff
RGB
181, 66, 255
HSL
276.51°, 100%, 62.94%
OKLCH
0.63 0.26 308.1
Names
—
Lists

Codes

FormatValue
HEX#b542ff
RGBrgb(181 66 255)
HSLhsl(276.51 100% 62.94%)
OKLCHoklch(0.63 0.26 308.1)
CMYKcmyk(29.02% 74.12% 0% 0%)
Android#ffb542ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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