Skip to content
Vectorlight.net

#bb04a1

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

HEX
#bb04a1
RGB
187, 4, 161
HSL
308.52°, 95.81%, 37.45%
OKLCH
0.54 0.24 336.32
Names
—
Lists

Codes

FormatValue
HEX#bb04a1
RGBrgb(187 4 161)
HSLhsl(308.52 95.81% 37.45%)
OKLCHoklch(0.54 0.24 336.32)
CMYKcmyk(0% 97.86% 13.9% 26.67%)
Android#ffbb04a1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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