Skip to content
Vectorlight.net

#b452ec

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

HEX
#b452ec
RGB
180, 82, 236
HSL
278.18°, 80.21%, 62.35%
OKLCH
0.63 0.23 310.75
Names
—
Lists

Codes

FormatValue
HEX#b452ec
RGBrgb(180 82 236)
HSLhsl(278.18 80.21% 62.35%)
OKLCHoklch(0.63 0.23 310.75)
CMYKcmyk(23.73% 65.25% 0% 7.45%)
Android#ffb452ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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