Skip to content
Vectorlight.net

#b45aec

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

HEX
#b45aec
RGB
180, 90, 236
HSL
276.99°, 79.35%, 63.92%
OKLCH
0.64 0.22 310.03
Names
—
Lists

Codes

FormatValue
HEX#b45aec
RGBrgb(180 90 236)
HSLhsl(276.99 79.35% 63.92%)
OKLCHoklch(0.64 0.22 310.03)
CMYKcmyk(23.73% 61.86% 0% 7.45%)
Android#ffb45aec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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