Skip to content
Vectorlight.net

#b56cdc

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

HEX
#b56cdc
RGB
181, 108, 220
HSL
279.11°, 61.54%, 64.31%
OKLCH
0.66 0.17 312.61
Names
—
Lists

Codes

FormatValue
HEX#b56cdc
RGBrgb(181 108 220)
HSLhsl(279.11 61.54% 64.31%)
OKLCHoklch(0.66 0.17 312.61)
CMYKcmyk(17.73% 50.91% 0% 13.73%)
Android#ffb56cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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