Skip to content
Vectorlight.net

#b309af

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

HEX
#b309af
RGB
179, 9, 175
HSL
301.41°, 90.43%, 36.86%
OKLCH
0.54 0.24 329.54
Names
—
Lists

Codes

FormatValue
HEX#b309af
RGBrgb(179 9 175)
HSLhsl(301.41 90.43% 36.86%)
OKLCHoklch(0.54 0.24 329.54)
CMYKcmyk(0% 94.97% 2.23% 29.8%)
Android#ffb309af

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.87: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="#b309af"
Gradient stop
<stop stop-color="#b309af"/>
CSS variable + fill
:root { --c: #b309af; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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