Skip to content
Vectorlight.net

#984eb4

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

HEX
#984eb4
RGB
152, 78, 180
HSL
283.53°, 40.48%, 50.59%
OKLCH
0.56 0.17 315.83
Names
—
Lists

Codes

FormatValue
HEX#984eb4
RGBrgb(152 78 180)
HSLhsl(283.53 40.48% 50.59%)
OKLCHoklch(0.56 0.17 315.83)
CMYKcmyk(15.56% 56.67% 0% 29.41%)
Android#ff984eb4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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