Skip to content
Vectorlight.net

#bb56b2

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

HEX
#bb56b2
RGB
187, 86, 178
HSL
305.35°, 42.62%, 53.53%
OKLCH
0.61 0.17 330.94
Names
—
Lists

Codes

FormatValue
HEX#bb56b2
RGBrgb(187 86 178)
HSLhsl(305.35 42.62% 53.53%)
OKLCHoklch(0.61 0.17 330.94)
CMYKcmyk(0% 54.01% 4.81% 26.67%)
Android#ffbb56b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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