Skip to content
Vectorlight.net

#bb28bc

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

HEX
#bb28bc
RGB
187, 40, 188
HSL
299.59°, 64.91%, 44.71%
OKLCH
0.57 0.24 327.83
Names
—
Lists

Codes

FormatValue
HEX#bb28bc
RGBrgb(187 40 188)
HSLhsl(299.59 64.91% 44.71%)
OKLCHoklch(0.57 0.24 327.83)
CMYKcmyk(0.53% 78.72% 0% 26.27%)
Android#ffbb28bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.06:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.14:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#bb28bc"
Gradient stop
<stop stop-color="#bb28bc"/>
CSS variable + fill
:root { --c: #bb28bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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