Skip to content
Vectorlight.net

#bc31d8

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

HEX
#bc31d8
RGB
188, 49, 216
HSL
289.94°, 68.16%, 51.96%
OKLCH
0.6 0.25 320.13
Names
—
Lists

Codes

FormatValue
HEX#bc31d8
RGBrgb(188 49 216)
HSLhsl(289.94 68.16% 51.96%)
OKLCHoklch(0.6 0.25 320.13)
CMYKcmyk(12.96% 77.31% 0% 15.29%)
Android#ffbc31d8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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