Skip to content
Vectorlight.net

#984cec

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

HEX
#984cec
RGB
152, 76, 236
HSL
268.5°, 80.81%, 61.18%
OKLCH
0.59 0.23 301.41
Names
—
Lists

Codes

FormatValue
HEX#984cec
RGBrgb(152 76 236)
HSLhsl(268.5 80.81% 61.18%)
OKLCHoklch(0.59 0.23 301.41)
CMYKcmyk(35.59% 67.8% 0% 7.45%)
Android#ff984cec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #984cec;
background-color: #984cec;
bg-[#984cec]