Skip to content
Vectorlight.net

#bc51ba

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

HEX
#bc51ba
RGB
188, 81, 186
HSL
301.12°, 44.4%, 52.75%
OKLCH
0.61 0.19 328.29
Names
—
Lists

Codes

FormatValue
HEX#bc51ba
RGBrgb(188 81 186)
HSLhsl(301.12 44.4% 52.75%)
OKLCHoklch(0.61 0.19 328.29)
CMYKcmyk(0% 56.91% 1.06% 26.27%)
Android#ffbc51ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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