Skip to content
Vectorlight.net

#9850ff

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

HEX
#9850ff
RGB
152, 80, 255
HSL
264.69°, 100%, 65.69%
OKLCH
0.61 0.24 297.43
Names
—
Lists

Codes

FormatValue
HEX#9850ff
RGBrgb(152 80 255)
HSLhsl(264.69 100% 65.69%)
OKLCHoklch(0.61 0.24 297.43)
CMYKcmyk(40.39% 68.63% 0% 0%)
Android#ff9850ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9850ff;
background-color: #9850ff;
bg-[#9850ff]