Skip to content
Vectorlight.net

#bf42aa

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

HEX
#bf42aa
RGB
191, 66, 170
HSL
310.08°, 49.41%, 50.39%
OKLCH
0.59 0.2 335.12
Names
—
Lists

Codes

FormatValue
HEX#bf42aa
RGBrgb(191 66 170)
HSLhsl(310.08 49.41% 50.39%)
OKLCHoklch(0.59 0.2 335.12)
CMYKcmyk(0% 65.45% 10.99% 25.1%)
Android#ffbf42aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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