Skip to content
Vectorlight.net

#985efd

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

HEX
#985efd
RGB
152, 94, 253
HSL
261.89°, 97.55%, 68.04%
OKLCH
0.63 0.23 296.02
Names
—
Lists

Codes

FormatValue
HEX#985efd
RGBrgb(152 94 253)
HSLhsl(261.89 97.55% 68.04%)
OKLCHoklch(0.63 0.23 296.02)
CMYKcmyk(39.92% 62.85% 0% 0.78%)
Android#ff985efd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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