Skip to content
Vectorlight.net

#bb7eef

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

HEX
#bb7eef
RGB
187, 126, 239
HSL
272.39°, 77.93%, 71.57%
OKLCH
0.7 0.17 307.5
Names
—
Lists

Codes

FormatValue
HEX#bb7eef
RGBrgb(187 126 239)
HSLhsl(272.39 77.93% 71.57%)
OKLCHoklch(0.7 0.17 307.5)
CMYKcmyk(21.76% 47.28% 0% 6.27%)
Android#ffbb7eef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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