Skip to content
Vectorlight.net

#b507a9

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

HEX
#b507a9
RGB
181, 7, 169
HSL
304.14°, 92.55%, 36.86%
OKLCH
0.54 0.24 332.01
Names
—
Lists

Codes

FormatValue
HEX#b507a9
RGBrgb(181 7 169)
HSLhsl(304.14 92.55% 36.86%)
OKLCHoklch(0.54 0.24 332.01)
CMYKcmyk(0% 96.13% 6.63% 29.02%)
Android#ffb507a9

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

Recolor an SVG with this color

CSS

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