Skip to content
Vectorlight.net

#985dea

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

HEX
#985dea
RGB
152, 93, 234
HSL
265.11°, 77.05%, 64.12%
OKLCH
0.61 0.2 299.58
Names
—
Lists

Codes

FormatValue
HEX#985dea
RGBrgb(152 93 234)
HSLhsl(265.11 77.05% 64.12%)
OKLCHoklch(0.61 0.2 299.58)
CMYKcmyk(35.04% 60.26% 0% 8.24%)
Android#ff985dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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