Skip to content
Vectorlight.net

#bf21dd

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

HEX
#bf21dd
RGB
191, 33, 221
HSL
290.43°, 74.02%, 49.8%
OKLCH
0.59 0.27 320.16
Names
—
Lists

Codes

FormatValue
HEX#bf21dd
RGBrgb(191 33 221)
HSLhsl(290.43 74.02% 49.8%)
OKLCHoklch(0.59 0.27 320.16)
CMYKcmyk(13.57% 85.07% 0% 13.33%)
Android#ffbf21dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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