Skip to content
Vectorlight.net

#b301cc

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

HEX
#b301cc
RGB
179, 1, 204
HSL
292.61°, 99.02%, 40.2%
OKLCH
0.55 0.26 321.38
Names
—
Lists

Codes

FormatValue
HEX#b301cc
RGBrgb(179 1 204)
HSLhsl(292.61 99.02% 40.2%)
OKLCHoklch(0.55 0.26 321.38)
CMYKcmyk(12.25% 99.51% 0% 20%)
Android#ffb301cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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