Skip to content
Vectorlight.net

#984cdd

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

HEX
#984cdd
RGB
152, 76, 221
HSL
271.45°, 68.08%, 58.24%
OKLCH
0.58 0.21 304.62
Names
—
Lists

Codes

FormatValue
HEX#984cdd
RGBrgb(152 76 221)
HSLhsl(271.45 68.08% 58.24%)
OKLCHoklch(0.58 0.21 304.62)
CMYKcmyk(31.22% 65.61% 0% 13.33%)
Android#ff984cdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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