Skip to content
Vectorlight.net

#9a4eae

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

HEX
#9a4eae
RGB
154, 78, 174
HSL
287.5°, 38.1%, 49.41%
OKLCH
0.56 0.16 318.89
Names
—
Lists

Codes

FormatValue
HEX#9a4eae
RGBrgb(154 78 174)
HSLhsl(287.5 38.1% 49.41%)
OKLCHoklch(0.56 0.16 318.89)
CMYKcmyk(11.49% 55.17% 0% 31.76%)
Android#ff9a4eae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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