Skip to content
Vectorlight.net

#bb21cf

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

HEX
#bb21cf
RGB
187, 33, 207
HSL
293.1°, 72.5%, 47.06%
OKLCH
0.58 0.26 322.58
Names
—
Lists

Codes

FormatValue
HEX#bb21cf
RGBrgb(187 33 207)
HSLhsl(293.1 72.5% 47.06%)
OKLCHoklch(0.58 0.26 322.58)
CMYKcmyk(9.66% 84.06% 0% 18.82%)
Android#ffbb21cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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