Skip to content
Vectorlight.net

#ab8ddb

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

HEX
#ab8ddb
RGB
171, 141, 219
HSL
263.08°, 52%, 70.59%
OKLCH
0.7 0.12 301.16
Names
—
Lists

Codes

FormatValue
HEX#ab8ddb
RGBrgb(171 141 219)
HSLhsl(263.08 52% 70.59%)
OKLCHoklch(0.7 0.12 301.16)
CMYKcmyk(21.92% 35.62% 0% 14.12%)
Android#ffab8ddb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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