Skip to content
Vectorlight.net

#ab75ca

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

HEX
#ab75ca
RGB
171, 117, 202
HSL
278.12°, 44.5%, 62.55%
OKLCH
0.65 0.13 312.33
Names
—
Lists

Codes

FormatValue
HEX#ab75ca
RGBrgb(171 117 202)
HSLhsl(278.12 44.5% 62.55%)
OKLCHoklch(0.65 0.13 312.33)
CMYKcmyk(15.35% 42.08% 0% 20.78%)
Android#ffab75ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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