Skip to content
Vectorlight.net

#98228a

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

HEX
#98228a
RGB
152, 34, 138
HSL
307.12°, 63.44%, 36.47%
OKLCH
0.48 0.19 333.54
Names
—
Lists

Codes

FormatValue
HEX#98228a
RGBrgb(152 34 138)
HSLhsl(307.12 63.44% 36.47%)
OKLCHoklch(0.48 0.19 333.54)
CMYKcmyk(0% 77.63% 9.21% 40.39%)
Android#ff98228a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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