Skip to content
Vectorlight.net

#a18ee5

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

HEX
#a18ee5
RGB
161, 142, 229
HSL
253.1°, 62.59%, 72.75%
OKLCH
0.7 0.13 292.87
Names
—
Lists

Codes

FormatValue
HEX#a18ee5
RGBrgb(161 142 229)
HSLhsl(253.1 62.59% 72.75%)
OKLCHoklch(0.7 0.13 292.87)
CMYKcmyk(29.69% 37.99% 0% 10.2%)
Android#ffa18ee5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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