Skip to content
Vectorlight.net

#9e507a

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

HEX
#9e507a
RGB
158, 80, 122
HSL
327.69°, 32.77%, 46.67%
OKLCH
0.54 0.12 348.15
Names
—
Lists

Codes

FormatValue
HEX#9e507a
RGBrgb(158 80 122)
HSLhsl(327.69 32.77% 46.67%)
OKLCHoklch(0.54 0.12 348.15)
CMYKcmyk(0% 49.37% 22.78% 38.04%)
Android#ff9e507a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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