Skip to content
Vectorlight.net

#bf31ca

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

HEX
#bf31ca
RGB
191, 49, 202
HSL
295.69°, 60.96%, 49.22%
OKLCH
0.59 0.24 324.83
Names
—
Lists

Codes

FormatValue
HEX#bf31ca
RGBrgb(191 49 202)
HSLhsl(295.69 60.96% 49.22%)
OKLCHoklch(0.59 0.24 324.83)
CMYKcmyk(5.45% 75.74% 0% 20.78%)
Android#ffbf31ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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