Skip to content
Vectorlight.net

#ab5eda

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

HEX
#ab5eda
RGB
171, 94, 218
HSL
277.26°, 62.63%, 61.18%
OKLCH
0.62 0.19 310.72
Names
—
Lists

Codes

FormatValue
HEX#ab5eda
RGBrgb(171 94 218)
HSLhsl(277.26 62.63% 61.18%)
OKLCHoklch(0.62 0.19 310.72)
CMYKcmyk(21.56% 56.88% 0% 14.51%)
Android#ffab5eda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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