Skip to content
Vectorlight.net

#bf21da

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

HEX
#bf21da
RGB
191, 33, 218
HSL
291.24°, 73.71%, 49.22%
OKLCH
0.59 0.27 320.9
Names
—
Lists

Codes

FormatValue
HEX#bf21da
RGBrgb(191 33 218)
HSLhsl(291.24 73.71% 49.22%)
OKLCHoklch(0.59 0.27 320.9)
CMYKcmyk(12.39% 84.86% 0% 14.51%)
Android#ffbf21da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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