Skip to content
Vectorlight.net

#b45cef

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

HEX
#b45cef
RGB
180, 92, 239
HSL
275.92°, 82.12%, 64.9%
OKLCH
0.64 0.22 309.13
Names
—
Lists

Codes

FormatValue
HEX#b45cef
RGBrgb(180 92 239)
HSLhsl(275.92 82.12% 64.9%)
OKLCHoklch(0.64 0.22 309.13)
CMYKcmyk(24.69% 61.51% 0% 6.27%)
Android#ffb45cef

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

Recolor an SVG with this color

CSS

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