Skip to content
Vectorlight.net

#a173ef

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

HEX
#a173ef
RGB
161, 115, 239
HSL
262.26°, 79.49%, 69.41%
OKLCH
0.66 0.18 298.42
Names
—
Lists

Codes

FormatValue
HEX#a173ef
RGBrgb(161 115 239)
HSLhsl(262.26 79.49% 69.41%)
OKLCHoklch(0.66 0.18 298.42)
CMYKcmyk(32.64% 51.88% 0% 6.27%)
Android#ffa173ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a173ef;
background-color: #a173ef;
bg-[#a173ef]