Skip to content
Vectorlight.net

#985ce5

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

HEX
#985ce5
RGB
152, 92, 229
HSL
266.28°, 72.49%, 62.94%
OKLCH
0.61 0.2 300.74
Names
—
Lists

Codes

FormatValue
HEX#985ce5
RGBrgb(152 92 229)
HSLhsl(266.28 72.49% 62.94%)
OKLCHoklch(0.61 0.2 300.74)
CMYKcmyk(33.62% 59.83% 0% 10.2%)
Android#ff985ce5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #985ce5;
background-color: #985ce5;
bg-[#985ce5]