Skip to content
Vectorlight.net

#98417a

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

HEX
#98417a
RGB
152, 65, 122
HSL
320.69°, 40.09%, 42.55%
OKLCH
0.51 0.14 342.89
Names
—
Lists

Codes

FormatValue
HEX#98417a
RGBrgb(152 65 122)
HSLhsl(320.69 40.09% 42.55%)
OKLCHoklch(0.51 0.14 342.89)
CMYKcmyk(0% 57.24% 19.74% 40.39%)
Android#ff98417a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #98417a;
background-color: #98417a;
bg-[#98417a]