Skip to content
Vectorlight.net

#980472

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

HEX
#980472
RGB
152, 4, 114
HSL
315.41°, 94.87%, 30.59%
OKLCH
0.46 0.19 343.23
Names
—
Lists

Codes

FormatValue
HEX#980472
RGBrgb(152 4 114)
HSLhsl(315.41 94.87% 30.59%)
OKLCHoklch(0.46 0.19 343.23)
CMYKcmyk(0% 97.37% 25% 40.39%)
Android#ff980472

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #980472;
background-color: #980472;
bg-[#980472]