Skip to content
Vectorlight.net

#a18fe6

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

HEX
#a18fe6
RGB
161, 143, 230
HSL
252.41°, 63.5%, 73.14%
OKLCH
0.7 0.13 292.34
Names
—
Lists

Codes

FormatValue
HEX#a18fe6
RGBrgb(161 143 230)
HSLhsl(252.41 63.5% 73.14%)
OKLCHoklch(0.7 0.13 292.34)
CMYKcmyk(30% 37.83% 0% 9.8%)
Android#ffa18fe6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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