Skip to content
Vectorlight.net

#b151af

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

HEX
#b151af
RGB
177, 81, 175
HSL
301.25°, 38.1%, 50.59%
OKLCH
0.59 0.17 328.27
Names
—
Lists

Codes

FormatValue
HEX#b151af
RGBrgb(177 81 175)
HSLhsl(301.25 38.1% 50.59%)
OKLCHoklch(0.59 0.17 328.27)
CMYKcmyk(0% 54.24% 1.13% 30.59%)
Android#ffb151af

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.50:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.66:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#b151af"
Gradient stop
<stop stop-color="#b151af"/>
CSS variable + fill
:root { --c: #b151af; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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