Skip to content
Vectorlight.net

#bf1fa1

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

HEX
#bf1fa1
RGB
191, 31, 161
HSL
311.25°, 72.07%, 43.53%
OKLCH
0.56 0.23 337.67
Names
—
Lists

Codes

FormatValue
HEX#bf1fa1
RGBrgb(191 31 161)
HSLhsl(311.25 72.07% 43.53%)
OKLCHoklch(0.56 0.23 337.67)
CMYKcmyk(0% 83.77% 15.71% 25.1%)
Android#ffbf1fa1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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