Skip to content
Vectorlight.net

#985eba

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

HEX
#985eba
RGB
152, 94, 186
HSL
277.83°, 40%, 54.9%
OKLCH
0.58 0.15 311.72
Names
—
Lists

Codes

FormatValue
HEX#985eba
RGBrgb(152 94 186)
HSLhsl(277.83 40% 54.9%)
OKLCHoklch(0.58 0.15 311.72)
CMYKcmyk(18.28% 49.46% 0% 27.06%)
Android#ff985eba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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