Skip to content
Vectorlight.net

#ab95dd

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

HEX
#ab95dd
RGB
171, 149, 221
HSL
258.33°, 51.43%, 72.55%
OKLCH
0.72 0.11 297.73
Names
—
Lists

Codes

FormatValue
HEX#ab95dd
RGBrgb(171 149 221)
HSLhsl(258.33 51.43% 72.55%)
OKLCHoklch(0.72 0.11 297.73)
CMYKcmyk(22.62% 32.58% 0% 13.33%)
Android#ffab95dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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