Skip to content
Vectorlight.net

#9857cc

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

HEX
#9857cc
RGB
152, 87, 204
HSL
273.33°, 53.42%, 57.06%
OKLCH
0.58 0.18 307.38
Names
—
Lists

Codes

FormatValue
HEX#9857cc
RGBrgb(152 87 204)
HSLhsl(273.33 53.42% 57.06%)
OKLCHoklch(0.58 0.18 307.38)
CMYKcmyk(25.49% 57.35% 0% 20%)
Android#ff9857cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #9857cc;
background-color: #9857cc;
bg-[#9857cc]