Skip to content
Vectorlight.net

#bb56f6

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

HEX
#bb56f6
RGB
187, 86, 246
HSL
277.88°, 89.89%, 65.1%
OKLCH
0.65 0.24 310.48
Names
—
Lists

Codes

FormatValue
HEX#bb56f6
RGBrgb(187 86 246)
HSLhsl(277.88 89.89% 65.1%)
OKLCHoklch(0.65 0.24 310.48)
CMYKcmyk(23.98% 65.04% 0% 3.53%)
Android#ffbb56f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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