Skip to content
Vectorlight.net

#9732aa

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

HEX
#9732aa
RGB
151, 50, 170
HSL
290.5°, 54.55%, 43.14%
OKLCH
0.52 0.2 320.85
Names
—
Lists

Codes

FormatValue
HEX#9732aa
RGBrgb(151 50 170)
HSLhsl(290.5 54.55% 43.14%)
OKLCHoklch(0.52 0.2 320.85)
CMYKcmyk(11.18% 70.59% 0% 33.33%)
Android#ff9732aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9732aa;
background-color: #9732aa;
bg-[#9732aa]