Skip to content
Vectorlight.net

#9174ff

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

HEX
#9174ff
RGB
145, 116, 255
HSL
252.52°, 100%, 72.75%
OKLCH
0.65 0.2 289.36
Names
—
Lists

Codes

FormatValue
HEX#9174ff
RGBrgb(145 116 255)
HSLhsl(252.52 100% 72.75%)
OKLCHoklch(0.65 0.2 289.36)
CMYKcmyk(43.14% 54.51% 0% 0%)
Android#ff9174ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9174ff;
background-color: #9174ff;
bg-[#9174ff]