Skip to content
Vectorlight.net

#9166de

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

HEX
#9166de
RGB
145, 102, 222
HSL
261.5°, 64.52%, 63.53%
OKLCH
0.61 0.18 297.44
Names
—
Lists

Codes

FormatValue
HEX#9166de
RGBrgb(145 102 222)
HSLhsl(261.5 64.52% 63.53%)
OKLCHoklch(0.61 0.18 297.44)
CMYKcmyk(34.68% 54.05% 0% 12.94%)
Android#ff9166de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9166de;
background-color: #9166de;
bg-[#9166de]