Skip to content
Vectorlight.net

#985ef0

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

HEX
#985ef0
RGB
152, 94, 240
HSL
263.84°, 82.95%, 65.49%
OKLCH
0.62 0.21 298.29
Names
—
Lists

Codes

FormatValue
HEX#985ef0
RGBrgb(152 94 240)
HSLhsl(263.84 82.95% 65.49%)
OKLCHoklch(0.62 0.21 298.29)
CMYKcmyk(36.67% 60.83% 0% 5.88%)
Android#ff985ef0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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