Skip to content
Vectorlight.net

#b310bb

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

HEX
#b310bb
RGB
179, 16, 187
HSL
297.19°, 84.24%, 39.8%
OKLCH
0.55 0.25 325.94
Names
—
Lists

Codes

FormatValue
HEX#b310bb
RGBrgb(179 16 187)
HSLhsl(297.19 84.24% 39.8%)
OKLCHoklch(0.55 0.25 325.94)
CMYKcmyk(4.28% 91.44% 0% 26.67%)
Android#ffb310bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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