Skip to content
Vectorlight.net

#984dff

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

HEX
#984dff
RGB
152, 77, 255
HSL
265.28°, 100%, 65.1%
OKLCH
0.61 0.25 297.75
Names
—
Lists

Codes

FormatValue
HEX#984dff
RGBrgb(152 77 255)
HSLhsl(265.28 100% 65.1%)
OKLCHoklch(0.61 0.25 297.75)
CMYKcmyk(40.39% 69.8% 0% 0%)
Android#ff984dff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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