Skip to content
Vectorlight.net

#9858fa

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

HEX
#9858fa
RGB
152, 88, 250
HSL
263.7°, 94.19%, 66.27%
OKLCH
0.62 0.23 297.34
Names
—
Lists

Codes

FormatValue
HEX#9858fa
RGBrgb(152 88 250)
HSLhsl(263.7 94.19% 66.27%)
OKLCHoklch(0.62 0.23 297.34)
CMYKcmyk(39.2% 64.8% 0% 1.96%)
Android#ff9858fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9858fa;
background-color: #9858fa;
bg-[#9858fa]