Skip to content
Vectorlight.net

#9e66da

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

HEX
#9e66da
RGB
158, 102, 218
HSL
268.97°, 61.05%, 62.75%
OKLCH
0.62 0.17 304.07
Names
—
Lists

Codes

FormatValue
HEX#9e66da
RGBrgb(158 102 218)
HSLhsl(268.97 61.05% 62.75%)
OKLCHoklch(0.62 0.17 304.07)
CMYKcmyk(27.52% 53.21% 0% 14.51%)
Android#ff9e66da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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