Skip to content
Vectorlight.net

#b420bc

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

HEX
#b420bc
RGB
180, 32, 188
HSL
296.92°, 70.91%, 43.14%
OKLCH
0.56 0.24 325.78
Names
—
Lists

Codes

FormatValue
HEX#b420bc
RGBrgb(180 32 188)
HSLhsl(296.92 70.91% 43.14%)
OKLCHoklch(0.56 0.24 325.78)
CMYKcmyk(4.26% 82.98% 0% 26.27%)
Android#ffb420bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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