Skip to content
Vectorlight.net

#bb5bfe

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

HEX
#bb5bfe
RGB
187, 91, 254
HSL
275.34°, 98.79%, 67.65%
OKLCH
0.66 0.24 308.3
Names
—
Lists

Codes

FormatValue
HEX#bb5bfe
RGBrgb(187 91 254)
HSLhsl(275.34 98.79% 67.65%)
OKLCHoklch(0.66 0.24 308.3)
CMYKcmyk(26.38% 64.17% 0% 0.39%)
Android#ffbb5bfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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