Skip to content
Vectorlight.net

#984cef

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

HEX
#984cef
RGB
152, 76, 239
HSL
267.98°, 83.59%, 61.76%
OKLCH
0.59 0.23 300.81
Names
—
Lists

Codes

FormatValue
HEX#984cef
RGBrgb(152 76 239)
HSLhsl(267.98 83.59% 61.76%)
OKLCHoklch(0.59 0.23 300.81)
CMYKcmyk(36.4% 68.2% 0% 6.27%)
Android#ff984cef

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#984cef"
Gradient stop
<stop stop-color="#984cef"/>
CSS variable + fill
:root { --c: #984cef; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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