Skip to content
Vectorlight.net

#b556fc

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

HEX
#b556fc
RGB
181, 86, 252
HSL
274.34°, 96.51%, 66.27%
OKLCH
0.65 0.24 307.19
Names
—
Lists

Codes

FormatValue
HEX#b556fc
RGBrgb(181 86 252)
HSLhsl(274.34 96.51% 66.27%)
OKLCHoklch(0.65 0.24 307.19)
CMYKcmyk(28.17% 65.87% 0% 1.18%)
Android#ffb556fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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