Skip to content
Vectorlight.net

#b45bad

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

HEX
#b45bad
RGB
180, 91, 173
HSL
304.72°, 37.24%, 53.14%
OKLCH
0.61 0.15 330.28
Names
—
Lists

Codes

FormatValue
HEX#b45bad
RGBrgb(180 91 173)
HSLhsl(304.72 37.24% 53.14%)
OKLCHoklch(0.61 0.15 330.28)
CMYKcmyk(0% 49.44% 3.89% 29.41%)
Android#ffb45bad

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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