Skip to content
Vectorlight.net

#a697dd

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

HEX
#a697dd
RGB
166, 151, 221
HSL
252.86°, 50.72%, 72.94%
OKLCH
0.72 0.1 293.5
Names
—
Lists

Codes

FormatValue
HEX#a697dd
RGBrgb(166 151 221)
HSLhsl(252.86 50.72% 72.94%)
OKLCHoklch(0.72 0.1 293.5)
CMYKcmyk(24.89% 31.67% 0% 13.33%)
Android#ffa697dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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