Skip to content
Vectorlight.net

#a18df2

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

HEX
#a18df2
RGB
161, 141, 242
HSL
251.88°, 79.53%, 75.1%
OKLCH
0.7 0.15 291.3
Names
—
Lists

Codes

FormatValue
HEX#a18df2
RGBrgb(161 141 242)
HSLhsl(251.88 79.53% 75.1%)
OKLCHoklch(0.7 0.15 291.3)
CMYKcmyk(33.47% 41.74% 0% 5.1%)
Android#ffa18df2

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.60: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="#a18df2"
Gradient stop
<stop stop-color="#a18df2"/>
CSS variable + fill
:root { --c: #a18df2; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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