Skip to content
Vectorlight.net

#bb51aa

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

HEX
#bb51aa
RGB
187, 81, 170
HSL
309.62°, 43.8%, 52.55%
OKLCH
0.6 0.17 334.12
Names
—
Lists

Codes

FormatValue
HEX#bb51aa
RGBrgb(187 81 170)
HSLhsl(309.62 43.8% 52.55%)
OKLCHoklch(0.6 0.17 334.12)
CMYKcmyk(0% 56.68% 9.09% 26.67%)
Android#ffbb51aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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