Skip to content
Vectorlight.net

#a689ff

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

HEX
#a689ff
RGB
166, 137, 255
HSL
254.75°, 100%, 76.86%
OKLCH
0.71 0.17 292.9
Names
—
Lists

Codes

FormatValue
HEX#a689ff
RGBrgb(166 137 255)
HSLhsl(254.75 100% 76.86%)
OKLCHoklch(0.71 0.17 292.9)
CMYKcmyk(34.9% 46.27% 0% 0%)
Android#ffa689ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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