Skip to content
Vectorlight.net

#b372fe

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

HEX
#b372fe
RGB
179, 114, 254
HSL
267.86°, 98.59%, 72.16%
OKLCH
0.68 0.2 302.81
Names
—
Lists

Codes

FormatValue
HEX#b372fe
RGBrgb(179 114 254)
HSLhsl(267.86 98.59% 72.16%)
OKLCHoklch(0.68 0.2 302.81)
CMYKcmyk(29.53% 55.12% 0% 0.39%)
Android#ffb372fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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