Skip to content
Vectorlight.net

#ab8bdf

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

HEX
#ab8bdf
RGB
171, 139, 223
HSL
262.86°, 56.76%, 70.98%
OKLCH
0.7 0.12 300.78
Names
—
Lists

Codes

FormatValue
HEX#ab8bdf
RGBrgb(171 139 223)
HSLhsl(262.86 56.76% 70.98%)
OKLCHoklch(0.7 0.12 300.78)
CMYKcmyk(23.32% 37.67% 0% 12.55%)
Android#ffab8bdf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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