Skip to content
Vectorlight.net

#bb51ac

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

HEX
#bb51ac
RGB
187, 81, 172
HSL
308.49°, 43.8%, 52.55%
OKLCH
0.6 0.17 333.3
Names
—
Lists

Codes

FormatValue
HEX#bb51ac
RGBrgb(187 81 172)
HSLhsl(308.49 43.8% 52.55%)
OKLCHoklch(0.6 0.17 333.3)
CMYKcmyk(0% 56.68% 8.02% 26.67%)
Android#ffbb51ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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