Skip to content
Vectorlight.net

#ab4ccf

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

HEX
#ab4ccf
RGB
171, 76, 207
HSL
283.51°, 57.71%, 55.49%
OKLCH
0.59 0.2 315.47
Names
—
Lists

Codes

FormatValue
HEX#ab4ccf
RGBrgb(171 76 207)
HSLhsl(283.51 57.71% 55.49%)
OKLCHoklch(0.59 0.2 315.47)
CMYKcmyk(17.39% 63.29% 0% 18.82%)
Android#ffab4ccf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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