Skip to content
Vectorlight.net

#b310cb

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

HEX
#b310cb
RGB
179, 16, 203
HSL
292.3°, 85.39%, 42.94%
OKLCH
0.56 0.26 321.51
Names
—
Lists

Codes

FormatValue
HEX#b310cb
RGBrgb(179 16 203)
HSLhsl(292.3 85.39% 42.94%)
OKLCHoklch(0.56 0.26 321.51)
CMYKcmyk(11.82% 92.12% 0% 20.39%)
Android#ffb310cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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