Skip to content
Vectorlight.net

#bc04ab

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

HEX
#bc04ab
RGB
188, 4, 171
HSL
305.54°, 95.83%, 37.65%
OKLCH
0.55 0.24 333.41
Names
—
Lists

Codes

FormatValue
HEX#bc04ab
RGBrgb(188 4 171)
HSLhsl(305.54 95.83% 37.65%)
OKLCHoklch(0.55 0.24 333.41)
CMYKcmyk(0% 97.87% 9.04% 26.27%)
Android#ffbc04ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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