Skip to content
Vectorlight.net

#bb96ec

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

HEX
#bb96ec
RGB
187, 150, 236
HSL
265.81°, 69.35%, 75.69%
OKLCH
0.74 0.13 303.23
Names
—
Lists

Codes

FormatValue
HEX#bb96ec
RGBrgb(187 150 236)
HSLhsl(265.81 69.35% 75.69%)
OKLCHoklch(0.74 0.13 303.23)
CMYKcmyk(20.76% 36.44% 0% 7.45%)
Android#ffbb96ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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