Skip to content
Vectorlight.net

#9b217c

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

HEX
#9b217c
RGB
155, 33, 124
HSL
315.25°, 64.89%, 36.86%
OKLCH
0.48 0.18 340.64
Names
—
Lists

Codes

FormatValue
HEX#9b217c
RGBrgb(155 33 124)
HSLhsl(315.25 64.89% 36.86%)
OKLCHoklch(0.48 0.18 340.64)
CMYKcmyk(0% 78.71% 20% 39.22%)
Android#ff9b217c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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