Skip to content
Vectorlight.net

#9e66bd

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

HEX
#9e66bd
RGB
158, 102, 189
HSL
278.62°, 39.73%, 57.06%
OKLCH
0.6 0.14 312.52
Names
—
Lists

Codes

FormatValue
HEX#9e66bd
RGBrgb(158 102 189)
HSLhsl(278.62 39.73% 57.06%)
OKLCHoklch(0.6 0.14 312.52)
CMYKcmyk(16.4% 46.03% 0% 25.88%)
Android#ff9e66bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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