Skip to content
Vectorlight.net

#b307b6

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

HEX
#b307b6
RGB
179, 7, 182
HSL
298.97°, 92.59%, 37.06%
OKLCH
0.54 0.25 327.45
Names
—
Lists

Codes

FormatValue
HEX#b307b6
RGBrgb(179 7 182)
HSLhsl(298.97 92.59% 37.06%)
OKLCHoklch(0.54 0.25 327.45)
CMYKcmyk(1.65% 96.15% 0% 28.63%)
Android#ffb307b6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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