Skip to content
Vectorlight.net

#9860fe

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

HEX
#9860fe
RGB
152, 96, 254
HSL
261.27°, 98.75%, 68.63%
OKLCH
0.63 0.22 295.57
Names
—
Lists

Codes

FormatValue
HEX#9860fe
RGBrgb(152 96 254)
HSLhsl(261.27 98.75% 68.63%)
OKLCHoklch(0.63 0.22 295.57)
CMYKcmyk(40.16% 62.2% 0% 0.39%)
Android#ff9860fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9860fe;
background-color: #9860fe;
bg-[#9860fe]