Skip to content
Vectorlight.net

#ab7fcf

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

HEX
#ab7fcf
RGB
171, 127, 207
HSL
273°, 45.45%, 65.49%
OKLCH
0.67 0.12 308.65
Names
—
Lists

Codes

FormatValue
HEX#ab7fcf
RGBrgb(171 127 207)
HSLhsl(273 45.45% 65.49%)
OKLCHoklch(0.67 0.12 308.65)
CMYKcmyk(17.39% 38.65% 0% 18.82%)
Android#ffab7fcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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