Skip to content
Vectorlight.net

#b45acc

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

HEX
#b45acc
RGB
180, 90, 204
HSL
287.37°, 52.78%, 57.65%
OKLCH
0.62 0.19 318.77
Names
—
Lists

Codes

FormatValue
HEX#b45acc
RGBrgb(180 90 204)
HSLhsl(287.37 52.78% 57.65%)
OKLCHoklch(0.62 0.19 318.77)
CMYKcmyk(11.76% 55.88% 0% 20%)
Android#ffb45acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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