Skip to content
Vectorlight.net

#985cab

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

HEX
#985cab
RGB
152, 92, 171
HSL
285.57°, 31.98%, 51.57%
OKLCH
0.57 0.13 317.67
Names
—
Lists

Codes

FormatValue
HEX#985cab
RGBrgb(152 92 171)
HSLhsl(285.57 31.98% 51.57%)
OKLCHoklch(0.57 0.13 317.67)
CMYKcmyk(11.11% 46.2% 0% 32.94%)
Android#ff985cab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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