Skip to content
Vectorlight.net

#ab68eb

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

HEX
#ab68eb
RGB
171, 104, 235
HSL
270.69°, 76.61%, 66.47%
OKLCH
0.65 0.19 305.22
Names
—
Lists

Codes

FormatValue
HEX#ab68eb
RGBrgb(171 104 235)
HSLhsl(270.69 76.61% 66.47%)
OKLCHoklch(0.65 0.19 305.22)
CMYKcmyk(27.23% 55.74% 0% 7.84%)
Android#ffab68eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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