Skip to content
Vectorlight.net

#ab7ded

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

HEX
#ab7ded
RGB
171, 125, 237
HSL
264.64°, 75.68%, 70.98%
OKLCH
0.68 0.16 301.11
Names
—
Lists

Codes

FormatValue
HEX#ab7ded
RGBrgb(171 125 237)
HSLhsl(264.64 75.68% 70.98%)
OKLCHoklch(0.68 0.16 301.11)
CMYKcmyk(27.85% 47.26% 0% 7.06%)
Android#ffab7ded

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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