Skip to content
Vectorlight.net

#984cdc

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

HEX
#984cdc
RGB
152, 76, 220
HSL
271.67°, 67.29%, 58.04%
OKLCH
0.58 0.21 304.85
Names
—
Lists

Codes

FormatValue
HEX#984cdc
RGBrgb(152 76 220)
HSLhsl(271.67 67.29% 58.04%)
OKLCHoklch(0.58 0.21 304.85)
CMYKcmyk(30.91% 65.45% 0% 13.73%)
Android#ff984cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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