Skip to content
Vectorlight.net

#a898eb

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

HEX
#a898eb
RGB
168, 152, 235
HSL
251.57°, 67.48%, 75.88%
OKLCH
0.73 0.12 292
Names
—
Lists

Codes

FormatValue
HEX#a898eb
RGBrgb(168 152 235)
HSLhsl(251.57 67.48% 75.88%)
OKLCHoklch(0.73 0.12 292)
CMYKcmyk(28.51% 35.32% 0% 7.84%)
Android#ffa898eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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