Skip to content
Vectorlight.net

#ababdc

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

HEX
#ababdc
RGB
171, 171, 220
HSL
240°, 41.18%, 76.67%
OKLCH
0.76 0.07 284.61
Names
—
Lists

Codes

FormatValue
HEX#ababdc
RGBrgb(171 171 220)
HSLhsl(240 41.18% 76.67%)
OKLCHoklch(0.76 0.07 284.61)
CMYKcmyk(22.27% 22.27% 0% 13.73%)
Android#ffababdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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