Skip to content
Vectorlight.net

#b372ed

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

HEX
#b372ed
RGB
179, 114, 237
HSL
271.71°, 77.36%, 68.82%
OKLCH
0.67 0.18 306.51
Names
—
Lists

Codes

FormatValue
HEX#b372ed
RGBrgb(179 114 237)
HSLhsl(271.71 77.36% 68.82%)
OKLCHoklch(0.67 0.18 306.51)
CMYKcmyk(24.47% 51.9% 0% 7.06%)
Android#ffb372ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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