Skip to content
Vectorlight.net

#b303bc

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

HEX
#b303bc
RGB
179, 3, 188
HSL
297.08°, 96.86%, 37.45%
OKLCH
0.54 0.25 325.73
Names
—
Lists

Codes

FormatValue
HEX#b303bc
RGBrgb(179 3 188)
HSLhsl(297.08 96.86% 37.45%)
OKLCHoklch(0.54 0.25 325.73)
CMYKcmyk(4.79% 98.4% 0% 26.27%)
Android#ffb303bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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