Skip to content
Vectorlight.net

#ab74df

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

HEX
#ab74df
RGB
171, 116, 223
HSL
270.84°, 62.57%, 66.47%
OKLCH
0.66 0.16 306.19
Names
—
Lists

Codes

FormatValue
HEX#ab74df
RGBrgb(171 116 223)
HSLhsl(270.84 62.57% 66.47%)
OKLCHoklch(0.66 0.16 306.19)
CMYKcmyk(23.32% 47.98% 0% 12.55%)
Android#ffab74df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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