Skip to content
Vectorlight.net

#b96cea

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

HEX
#b96cea
RGB
185, 108, 234
HSL
276.67°, 75%, 67.06%
OKLCH
0.67 0.19 310.45
Names
—
Lists

Codes

FormatValue
HEX#b96cea
RGBrgb(185 108 234)
HSLhsl(276.67 75% 67.06%)
OKLCHoklch(0.67 0.19 310.45)
CMYKcmyk(20.94% 53.85% 0% 8.24%)
Android#ffb96cea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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