Skip to content
Vectorlight.net

#985fac

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

HEX
#985fac
RGB
152, 95, 172
HSL
284.42°, 31.69%, 52.35%
OKLCH
0.58 0.13 316.87
Names
—
Lists

Codes

FormatValue
HEX#985fac
RGBrgb(152 95 172)
HSLhsl(284.42 31.69% 52.35%)
OKLCHoklch(0.58 0.13 316.87)
CMYKcmyk(11.63% 44.77% 0% 32.55%)
Android#ff985fac

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

Recolor an SVG with this color

CSS

color / background
color: #985fac;
background-color: #985fac;
bg-[#985fac]