Skip to content
Vectorlight.net

#bf42a7

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

HEX
#bf42a7
RGB
191, 66, 167
HSL
311.52°, 49.41%, 50.39%
OKLCH
0.59 0.19 336.26
Names
—
Lists

Codes

FormatValue
HEX#bf42a7
RGBrgb(191 66 167)
HSLhsl(311.52 49.41% 50.39%)
OKLCHoklch(0.59 0.19 336.26)
CMYKcmyk(0% 65.45% 12.57% 25.1%)
Android#ffbf42a7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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