Skip to content
Vectorlight.net

#981ccf

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

HEX
#981ccf
RGB
152, 28, 207
HSL
281.56°, 76.17%, 46.08%
OKLCH
0.53 0.25 311.5
Names
—
Lists

Codes

FormatValue
HEX#981ccf
RGBrgb(152 28 207)
HSLhsl(281.56 76.17% 46.08%)
OKLCHoklch(0.53 0.25 311.5)
CMYKcmyk(26.57% 86.47% 0% 18.82%)
Android#ff981ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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