Skip to content
Vectorlight.net

#98178d

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

HEX
#98178d
RGB
152, 23, 141
HSL
305.12°, 73.71%, 34.31%
OKLCH
0.48 0.2 332.31
Names
—
Lists

Codes

FormatValue
HEX#98178d
RGBrgb(152 23 141)
HSLhsl(305.12 73.71% 34.31%)
OKLCHoklch(0.48 0.2 332.31)
CMYKcmyk(0% 84.87% 7.24% 40.39%)
Android#ff98178d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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