Skip to content
Vectorlight.net

#b56fa2

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

HEX
#b56fa2
RGB
181, 111, 162
HSL
316.29°, 32.11%, 57.25%
OKLCH
0.63 0.11 337.57
Names
—
Lists

Codes

FormatValue
HEX#b56fa2
RGBrgb(181 111 162)
HSLhsl(316.29 32.11% 57.25%)
OKLCHoklch(0.63 0.11 337.57)
CMYKcmyk(0% 38.67% 10.5% 29.02%)
Android#ffb56fa2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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