Skip to content
Vectorlight.net

#98517e

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

HEX
#98517e
RGB
152, 81, 126
HSL
321.97°, 30.47%, 45.69%
OKLCH
0.53 0.11 342.8
Names
—
Lists

Codes

FormatValue
HEX#98517e
RGBrgb(152 81 126)
HSLhsl(321.97 30.47% 45.69%)
OKLCHoklch(0.53 0.11 342.8)
CMYKcmyk(0% 46.71% 17.11% 40.39%)
Android#ff98517e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #98517e;
background-color: #98517e;
bg-[#98517e]