Skip to content
Vectorlight.net

#b22fbf

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

HEX
#b22fbf
RGB
178, 47, 191
HSL
294.58°, 60.5%, 46.67%
OKLCH
0.56 0.23 323.98
Names
—
Lists

Codes

FormatValue
HEX#b22fbf
RGBrgb(178 47 191)
HSLhsl(294.58 60.5% 46.67%)
OKLCHoklch(0.56 0.23 323.98)
CMYKcmyk(6.81% 75.39% 0% 25.1%)
Android#ffb22fbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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