Skip to content
Vectorlight.net

#b45dec

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

HEX
#b45dec
RGB
180, 93, 236
HSL
276.5°, 79.01%, 64.51%
OKLCH
0.64 0.21 309.73
Names
—
Lists

Codes

FormatValue
HEX#b45dec
RGBrgb(180 93 236)
HSLhsl(276.5 79.01% 64.51%)
OKLCHoklch(0.64 0.21 309.73)
CMYKcmyk(23.73% 60.59% 0% 7.45%)
Android#ffb45dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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