Skip to content
Vectorlight.net

#bf04b7

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

HEX
#bf04b7
RGB
191, 4, 183
HSL
302.57°, 95.9%, 38.24%
OKLCH
0.56 0.25 330.64
Names
—
Lists

Codes

FormatValue
HEX#bf04b7
RGBrgb(191 4 183)
HSLhsl(302.57 95.9% 38.24%)
OKLCHoklch(0.56 0.25 330.64)
CMYKcmyk(0% 97.91% 4.19% 25.1%)
Android#ffbf04b7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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