Skip to content
Vectorlight.net

#aba2dc

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

HEX
#aba2dc
RGB
171, 162, 220
HSL
249.31°, 45.31%, 74.9%
OKLCH
0.74 0.08 291.34
Names
—
Lists

Codes

FormatValue
HEX#aba2dc
RGBrgb(171 162 220)
HSLhsl(249.31 45.31% 74.9%)
OKLCHoklch(0.74 0.08 291.34)
CMYKcmyk(22.27% 26.36% 0% 13.73%)
Android#ffaba2dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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