Skip to content
Vectorlight.net

#ab7bcf

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

HEX
#ab7bcf
RGB
171, 123, 207
HSL
274.29°, 46.67%, 64.71%
OKLCH
0.66 0.13 309.51
Names
—
Lists

Codes

FormatValue
HEX#ab7bcf
RGBrgb(171 123 207)
HSLhsl(274.29 46.67% 64.71%)
OKLCHoklch(0.66 0.13 309.51)
CMYKcmyk(17.39% 40.58% 0% 18.82%)
Android#ffab7bcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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