Skip to content
Vectorlight.net

#aba5dc

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

HEX
#aba5dc
RGB
171, 165, 220
HSL
246.55°, 44%, 75.49%
OKLCH
0.75 0.08 289.34
Names
—
Lists

Codes

FormatValue
HEX#aba5dc
RGBrgb(171 165 220)
HSLhsl(246.55 44% 75.49%)
OKLCHoklch(0.75 0.08 289.34)
CMYKcmyk(22.27% 25% 0% 13.73%)
Android#ffaba5dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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