Skip to content
Vectorlight.net

#b96fe1

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

HEX
#b96fe1
RGB
185, 111, 225
HSL
278.95°, 65.52%, 65.88%
OKLCH
0.67 0.18 312.5
Names
—
Lists

Codes

FormatValue
HEX#b96fe1
RGBrgb(185 111 225)
HSLhsl(278.95 65.52% 65.88%)
OKLCHoklch(0.67 0.18 312.5)
CMYKcmyk(17.78% 50.67% 0% 11.76%)
Android#ffb96fe1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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