Skip to content
Vectorlight.net

#b331bb

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

HEX
#b331bb
RGB
179, 49, 187
HSL
296.52°, 58.47%, 46.27%
OKLCH
0.57 0.22 325.47
Names
—
Lists

Codes

FormatValue
HEX#b331bb
RGBrgb(179 49 187)
HSLhsl(296.52 58.47% 46.27%)
OKLCHoklch(0.57 0.22 325.47)
CMYKcmyk(4.28% 73.8% 0% 26.67%)
Android#ffb331bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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