Skip to content
Vectorlight.net

#bb12c7

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

HEX
#bb12c7
RGB
187, 18, 199
HSL
296.02°, 83.41%, 42.55%
OKLCH
0.57 0.26 324.92
Names
—
Lists

Codes

FormatValue
HEX#bb12c7
RGBrgb(187 18 199)
HSLhsl(296.02 83.41% 42.55%)
OKLCHoklch(0.57 0.26 324.92)
CMYKcmyk(6.03% 90.95% 0% 21.96%)
Android#ffbb12c7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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