Skip to content
Vectorlight.net

#981fc0

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

HEX
#981fc0
RGB
152, 31, 192
HSL
285.09°, 72.2%, 43.73%
OKLCH
0.52 0.23 315.36
Names
—
Lists

Codes

FormatValue
HEX#981fc0
RGBrgb(152 31 192)
HSLhsl(285.09 72.2% 43.73%)
OKLCHoklch(0.52 0.23 315.36)
CMYKcmyk(20.83% 83.85% 0% 24.71%)
Android#ff981fc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #981fc0;
background-color: #981fc0;
bg-[#981fc0]