Skip to content
Vectorlight.net

#b302a5

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

HEX
#b302a5
RGB
179, 2, 165
HSL
304.75°, 97.79%, 35.49%
OKLCH
0.53 0.24 332.68
Names
—
Lists

Codes

FormatValue
HEX#b302a5
RGBrgb(179 2 165)
HSLhsl(304.75 97.79% 35.49%)
OKLCHoklch(0.53 0.24 332.68)
CMYKcmyk(0% 98.88% 7.82% 29.8%)
Android#ffb302a5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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