Skip to content
Vectorlight.net

#bb87fa

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

HEX
#bb87fa
RGB
187, 135, 250
HSL
267.13°, 92%, 75.49%
OKLCH
0.72 0.17 303.31
Names
—
Lists

Codes

FormatValue
HEX#bb87fa
RGBrgb(187 135 250)
HSLhsl(267.13 92% 75.49%)
OKLCHoklch(0.72 0.17 303.31)
CMYKcmyk(25.2% 46% 0% 1.96%)
Android#ffbb87fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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