Skip to content
Vectorlight.net

#98249d

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

HEX
#98249d
RGB
152, 36, 157
HSL
297.52°, 62.69%, 37.84%
OKLCH
0.5 0.2 326.24
Names
—
Lists

Codes

FormatValue
HEX#98249d
RGBrgb(152 36 157)
HSLhsl(297.52 62.69% 37.84%)
OKLCHoklch(0.5 0.2 326.24)
CMYKcmyk(3.18% 77.07% 0% 38.43%)
Android#ff98249d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #98249d;
background-color: #98249d;
bg-[#98249d]