Skip to content
Vectorlight.net

#bf31a3

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

HEX
#bf31a3
RGB
191, 49, 163
HSL
311.83°, 59.17%, 47.06%
OKLCH
0.57 0.21 337.3
Names
—
Lists

Codes

FormatValue
HEX#bf31a3
RGBrgb(191 49 163)
HSLhsl(311.83 59.17% 47.06%)
OKLCHoklch(0.57 0.21 337.3)
CMYKcmyk(0% 74.35% 14.66% 25.1%)
Android#ffbf31a3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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