Skip to content
Vectorlight.net

#bc0397

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

HEX
#bc0397
RGB
188, 3, 151
HSL
312°, 96.86%, 37.45%
OKLCH
0.54 0.23 339.95
Names
—
Lists

Codes

FormatValue
HEX#bc0397
RGBrgb(188 3 151)
HSLhsl(312 96.86% 37.45%)
OKLCHoklch(0.54 0.23 339.95)
CMYKcmyk(0% 98.4% 19.68% 26.27%)
Android#ffbc0397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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