Skip to content
Vectorlight.net

#b412af

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

HEX
#b412af
RGB
180, 18, 175
HSL
301.85°, 81.82%, 38.82%
OKLCH
0.54 0.24 329.82
Names
—
Lists

Codes

FormatValue
HEX#b412af
RGBrgb(180 18 175)
HSLhsl(301.85 81.82% 38.82%)
OKLCHoklch(0.54 0.24 329.82)
CMYKcmyk(0% 90% 2.78% 29.41%)
Android#ffb412af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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