Skip to content
Vectorlight.net

#a498eb

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

HEX
#a498eb
RGB
164, 152, 235
HSL
248.67°, 67.48%, 75.88%
OKLCH
0.72 0.12 289.7
Names
—
Lists

Codes

FormatValue
HEX#a498eb
RGBrgb(164 152 235)
HSLhsl(248.67 67.48% 75.88%)
OKLCHoklch(0.72 0.12 289.7)
CMYKcmyk(30.21% 35.32% 0% 7.84%)
Android#ffa498eb

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.26: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="#a498eb"
Gradient stop
<stop stop-color="#a498eb"/>
CSS variable + fill
:root { --c: #a498eb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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