Skip to content
Vectorlight.net

#bf21b2

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

HEX
#bf21b2
RGB
191, 33, 178
HSL
304.94°, 70.54%, 43.92%
OKLCH
0.57 0.24 332.12
Names
—
Lists

Codes

FormatValue
HEX#bf21b2
RGBrgb(191 33 178)
HSLhsl(304.94 70.54% 43.92%)
OKLCHoklch(0.57 0.24 332.12)
CMYKcmyk(0% 82.72% 6.81% 25.1%)
Android#ffbf21b2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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