Skip to content
Vectorlight.net

#bf31bc

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

HEX
#bf31bc
RGB
191, 49, 188
HSL
301.27°, 59.17%, 47.06%
OKLCH
0.58 0.23 328.97
Names
—
Lists

Codes

FormatValue
HEX#bf31bc
RGBrgb(191 49 188)
HSLhsl(301.27 59.17% 47.06%)
OKLCHoklch(0.58 0.23 328.97)
CMYKcmyk(0% 74.35% 1.57% 25.1%)
Android#ffbf31bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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