Skip to content
Vectorlight.net

#a174ef

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

HEX
#a174ef
RGB
161, 116, 239
HSL
261.95°, 79.35%, 69.61%
OKLCH
0.66 0.18 298.22
Names
—
Lists

Codes

FormatValue
HEX#a174ef
RGBrgb(161 116 239)
HSLhsl(261.95 79.35% 69.61%)
OKLCHoklch(0.66 0.18 298.22)
CMYKcmyk(32.64% 51.46% 0% 6.27%)
Android#ffa174ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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