Skip to content
Vectorlight.net

#b021d8

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

HEX
#b021d8
RGB
176, 33, 216
HSL
286.89°, 73.49%, 48.82%
OKLCH
0.57 0.26 316.92
Names
—
Lists

Codes

FormatValue
HEX#b021d8
RGBrgb(176 33 216)
HSLhsl(286.89 73.49% 48.82%)
OKLCHoklch(0.57 0.26 316.92)
CMYKcmyk(18.52% 84.72% 0% 15.29%)
Android#ffb021d8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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