Skip to content
Vectorlight.net

#b01fa7

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

HEX
#b01fa7
RGB
176, 31, 167
HSL
303.72°, 70.05%, 40.59%
OKLCH
0.54 0.22 331.1
Names
—
Lists

Codes

FormatValue
HEX#b01fa7
RGBrgb(176 31 167)
HSLhsl(303.72 70.05% 40.59%)
OKLCHoklch(0.54 0.22 331.1)
CMYKcmyk(0% 82.39% 5.11% 30.98%)
Android#ffb01fa7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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