Skip to content
Vectorlight.net

#9b22ae

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

HEX
#9b22ae
RGB
155, 34, 174
HSL
291.86°, 67.31%, 40.78%
OKLCH
0.51 0.22 321.67
Names
—
Lists

Codes

FormatValue
HEX#9b22ae
RGBrgb(155 34 174)
HSLhsl(291.86 67.31% 40.78%)
OKLCHoklch(0.51 0.22 321.67)
CMYKcmyk(10.92% 80.46% 0% 31.76%)
Android#ff9b22ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9b22ae;
background-color: #9b22ae;
bg-[#9b22ae]