Skip to content
Vectorlight.net

#bf31ac

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

HEX
#bf31ac
RGB
191, 49, 172
HSL
308.03°, 59.17%, 47.06%
OKLCH
0.57 0.22 334.15
Names
—
Lists

Codes

FormatValue
HEX#bf31ac
RGBrgb(191 49 172)
HSLhsl(308.03 59.17% 47.06%)
OKLCHoklch(0.57 0.22 334.15)
CMYKcmyk(0% 74.35% 9.95% 25.1%)
Android#ffbf31ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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