Skip to content
Vectorlight.net

#bb38ba

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

HEX
#bb38ba
RGB
187, 56, 186
HSL
300.46°, 53.91%, 47.65%
OKLCH
0.58 0.22 328.27
Names
—
Lists

Codes

FormatValue
HEX#bb38ba
RGBrgb(187 56 186)
HSLhsl(300.46 53.91% 47.65%)
OKLCHoklch(0.58 0.22 328.27)
CMYKcmyk(0% 70.05% 0.53% 26.67%)
Android#ffbb38ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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