Skip to content
Vectorlight.net

#b308af

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

HEX
#b308af
RGB
179, 8, 175
HSL
301.4°, 91.44%, 36.67%
OKLCH
0.54 0.24 329.54
Names
—
Lists

Codes

FormatValue
HEX#b308af
RGBrgb(179 8 175)
HSLhsl(301.4 91.44% 36.67%)
OKLCHoklch(0.54 0.24 329.54)
CMYKcmyk(0% 95.53% 2.23% 29.8%)
Android#ffb308af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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