Skip to content
Vectorlight.net

#a18ecf

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

HEX
#a18ecf
RGB
161, 142, 207
HSL
257.54°, 40.37%, 68.43%
OKLCH
0.69 0.1 297.24
Names
—
Lists

Codes

FormatValue
HEX#a18ecf
RGBrgb(161 142 207)
HSLhsl(257.54 40.37% 68.43%)
OKLCHoklch(0.69 0.1 297.24)
CMYKcmyk(22.22% 31.4% 0% 18.82%)
Android#ffa18ecf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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