Skip to content
Vectorlight.net

#a897ee

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

HEX
#a897ee
RGB
168, 151, 238
HSL
251.72°, 71.9%, 76.27%
OKLCH
0.73 0.12 291.95
Names
—
Lists

Codes

FormatValue
HEX#a897ee
RGBrgb(168 151 238)
HSLhsl(251.72 71.9% 76.27%)
OKLCHoklch(0.73 0.12 291.95)
CMYKcmyk(29.41% 36.55% 0% 6.67%)
Android#ffa897ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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