Skip to content
Vectorlight.net

#9e89bc

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

HEX
#9e89bc
RGB
158, 137, 188
HSL
264.71°, 27.57%, 63.73%
OKLCH
0.67 0.08 303.19
Names
—
Lists

Codes

FormatValue
HEX#9e89bc
RGBrgb(158 137 188)
HSLhsl(264.71 27.57% 63.73%)
OKLCHoklch(0.67 0.08 303.19)
CMYKcmyk(15.96% 27.13% 0% 26.27%)
Android#ff9e89bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9e89bc;
background-color: #9e89bc;
bg-[#9e89bc]