Skip to content
Vectorlight.net

#bb38b5

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

HEX
#bb38b5
RGB
187, 56, 181
HSL
302.75°, 53.91%, 47.65%
OKLCH
0.58 0.22 329.89
Names
—
Lists

Codes

FormatValue
HEX#bb38b5
RGBrgb(187 56 181)
HSLhsl(302.75 53.91% 47.65%)
OKLCHoklch(0.58 0.22 329.89)
CMYKcmyk(0% 70.05% 3.21% 26.67%)
Android#ffbb38b5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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