Skip to content
Vectorlight.net

#b45eba

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

HEX
#b45eba
RGB
180, 94, 186
HSL
296.09°, 40%, 54.9%
OKLCH
0.62 0.16 324.85
Names
—
Lists

Codes

FormatValue
HEX#b45eba
RGBrgb(180 94 186)
HSLhsl(296.09 40% 54.9%)
OKLCHoklch(0.62 0.16 324.85)
CMYKcmyk(3.23% 49.46% 0% 27.06%)
Android#ffb45eba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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