Skip to content
Vectorlight.net

#a897ea

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

HEX
#a897ea
RGB
168, 151, 234
HSL
252.29°, 66.4%, 75.49%
OKLCH
0.72 0.12 292.56
Names
—
Lists

Codes

FormatValue
HEX#a897ea
RGBrgb(168 151 234)
HSLhsl(252.29 66.4% 75.49%)
OKLCHoklch(0.72 0.12 292.56)
CMYKcmyk(28.21% 35.47% 0% 8.24%)
Android#ffa897ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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