Skip to content
Vectorlight.net

#bb40aa

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

HEX
#bb40aa
RGB
187, 64, 170
HSL
308.29°, 49%, 49.22%
OKLCH
0.58 0.2 333.77
Names
—
Lists

Codes

FormatValue
HEX#bb40aa
RGBrgb(187 64 170)
HSLhsl(308.29 49% 49.22%)
OKLCHoklch(0.58 0.2 333.77)
CMYKcmyk(0% 65.78% 9.09% 26.67%)
Android#ffbb40aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#bb40aa"
Gradient stop
<stop stop-color="#bb40aa"/>
CSS variable + fill
:root { --c: #bb40aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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