Skip to content
Vectorlight.net

#b976fe

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

HEX
#b976fe
RGB
185, 118, 254
HSL
269.56°, 98.55%, 72.94%
OKLCH
0.69 0.2 304.48
Names
—
Lists

Codes

FormatValue
HEX#b976fe
RGBrgb(185 118 254)
HSLhsl(269.56 98.55% 72.94%)
OKLCHoklch(0.69 0.2 304.48)
CMYKcmyk(27.17% 53.54% 0% 0.39%)
Android#ffb976fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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