Skip to content
Vectorlight.net

#9712ac

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

HEX
#9712ac
RGB
151, 18, 172
HSL
291.82°, 81.05%, 37.25%
OKLCH
0.49 0.23 321.26
Names
—
Lists

Codes

FormatValue
HEX#9712ac
RGBrgb(151 18 172)
HSLhsl(291.82 81.05% 37.25%)
OKLCHoklch(0.49 0.23 321.26)
CMYKcmyk(12.21% 89.53% 0% 32.55%)
Android#ff9712ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9712ac;
background-color: #9712ac;
bg-[#9712ac]