Skip to content
Vectorlight.net

#bc42ba

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

HEX
#bc42ba
RGB
188, 66, 186
HSL
300.98°, 48.03%, 49.8%
OKLCH
0.59 0.21 328.48
Names
—
Lists

Codes

FormatValue
HEX#bc42ba
RGBrgb(188 66 186)
HSLhsl(300.98 48.03% 49.8%)
OKLCHoklch(0.59 0.21 328.48)
CMYKcmyk(0% 64.89% 1.06% 26.27%)
Android#ffbc42ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#bc42ba"
Gradient stop
<stop stop-color="#bc42ba"/>
CSS variable + fill
:root { --c: #bc42ba; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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