Skip to content
Vectorlight.net

#bc31bb

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

HEX
#bc31bb
RGB
188, 49, 187
HSL
300.43°, 58.65%, 46.47%
OKLCH
0.58 0.23 328.35
Names
—
Lists

Codes

FormatValue
HEX#bc31bb
RGBrgb(188 49 187)
HSLhsl(300.43 58.65% 46.47%)
OKLCHoklch(0.58 0.23 328.35)
CMYKcmyk(0% 73.94% 0.53% 26.27%)
Android#ffbc31bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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