Skip to content
Vectorlight.net

#9857af

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

HEX
#9857af
RGB
152, 87, 175
HSL
284.32°, 35.48%, 51.37%
OKLCH
0.57 0.15 316.65
Names
—
Lists

Codes

FormatValue
HEX#9857af
RGBrgb(152 87 175)
HSLhsl(284.32 35.48% 51.37%)
OKLCHoklch(0.57 0.15 316.65)
CMYKcmyk(13.14% 50.29% 0% 31.37%)
Android#ff9857af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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