Skip to content
Vectorlight.net

#a18bed

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

HEX
#a18bed
RGB
161, 139, 237
HSL
253.47°, 73.13%, 73.73%
OKLCH
0.7 0.14 292.66
Names
—
Lists

Codes

FormatValue
HEX#a18bed
RGBrgb(161 139 237)
HSLhsl(253.47 73.13% 73.73%)
OKLCHoklch(0.7 0.14 292.66)
CMYKcmyk(32.07% 41.35% 0% 7.06%)
Android#ffa18bed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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