Skip to content
Vectorlight.net

#bb38ac

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

HEX
#bb38ac
RGB
187, 56, 172
HSL
306.87°, 53.91%, 47.65%
OKLCH
0.57 0.21 332.96
Names
—
Lists

Codes

FormatValue
HEX#bb38ac
RGBrgb(187 56 172)
HSLhsl(306.87 53.91% 47.65%)
OKLCHoklch(0.57 0.21 332.96)
CMYKcmyk(0% 70.05% 8.02% 26.67%)
Android#ffbb38ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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