Skip to content
Vectorlight.net

#98397f

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

HEX
#98397f
RGB
152, 57, 127
HSL
315.79°, 45.45%, 40.98%
OKLCH
0.5 0.15 339.34
Names
—
Lists

Codes

FormatValue
HEX#98397f
RGBrgb(152 57 127)
HSLhsl(315.79 45.45% 40.98%)
OKLCHoklch(0.5 0.15 339.34)
CMYKcmyk(0% 62.5% 16.45% 40.39%)
Android#ff98397f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #98397f;
background-color: #98397f;
bg-[#98397f]