Skip to content
Vectorlight.net

#9861fb

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

HEX
#9861fb
RGB
152, 97, 251
HSL
261.43°, 95.06%, 68.24%
OKLCH
0.63 0.22 295.91
Names
—
Lists

Codes

FormatValue
HEX#9861fb
RGBrgb(152 97 251)
HSLhsl(261.43 95.06% 68.24%)
OKLCHoklch(0.63 0.22 295.91)
CMYKcmyk(39.44% 61.35% 0% 1.57%)
Android#ff9861fb

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="#9861fb"
Gradient stop
<stop stop-color="#9861fb"/>
CSS variable + fill
:root { --c: #9861fb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #9861fb;
background-color: #9861fb;
bg-[#9861fb]