Skip to content
Vectorlight.net

#b305cb

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

HEX
#b305cb
RGB
179, 5, 203
HSL
292.73°, 95.19%, 40.78%
OKLCH
0.55 0.26 321.61
Names
—
Lists

Codes

FormatValue
HEX#b305cb
RGBrgb(179 5 203)
HSLhsl(292.73 95.19% 40.78%)
OKLCHoklch(0.55 0.26 321.61)
CMYKcmyk(11.82% 97.54% 0% 20.39%)
Android#ffb305cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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