Skip to content
Vectorlight.net

#ababcc

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

HEX
#ababcc
RGB
171, 171, 204
HSL
240°, 24.44%, 73.53%
OKLCH
0.75 0.05 285.21
Names
—
Lists

Codes

FormatValue
HEX#ababcc
RGBrgb(171 171 204)
HSLhsl(240 24.44% 73.53%)
OKLCHoklch(0.75 0.05 285.21)
CMYKcmyk(16.18% 16.18% 0% 20%)
Android#ffababcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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