Skip to content
Vectorlight.net

#bb21cb

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

HEX
#bb21cb
RGB
187, 33, 203
HSL
294.35°, 72.03%, 46.27%
OKLCH
0.58 0.25 323.65
Names
—
Lists

Codes

FormatValue
HEX#bb21cb
RGBrgb(187 33 203)
HSLhsl(294.35 72.03% 46.27%)
OKLCHoklch(0.58 0.25 323.65)
CMYKcmyk(7.88% 83.74% 0% 20.39%)
Android#ffbb21cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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