Skip to content
Vectorlight.net

#bc42ab

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

HEX
#bc42ab
RGB
188, 66, 171
HSL
308.36°, 48.03%, 49.8%
OKLCH
0.59 0.2 333.76
Names
—
Lists

Codes

FormatValue
HEX#bc42ab
RGBrgb(188 66 171)
HSLhsl(308.36 48.03% 49.8%)
OKLCHoklch(0.59 0.2 333.76)
CMYKcmyk(0% 64.89% 9.04% 26.27%)
Android#ffbc42ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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