Skip to content
Vectorlight.net

#9012ab

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

HEX
#9012ab
RGB
144, 18, 171
HSL
289.41°, 80.95%, 37.06%
OKLCH
0.48 0.22 319.04
Names
—
Lists

Codes

FormatValue
HEX#9012ab
RGBrgb(144 18 171)
HSLhsl(289.41 80.95% 37.06%)
OKLCHoklch(0.48 0.22 319.04)
CMYKcmyk(15.79% 89.47% 0% 32.94%)
Android#ff9012ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9012ab;
background-color: #9012ab;
bg-[#9012ab]