Skip to content
Vectorlight.net

#a799ef

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

HEX
#a799ef
RGB
167, 153, 239
HSL
249.77°, 72.88%, 76.86%
OKLCH
0.73 0.12 290.47
Names
—
Lists

Codes

FormatValue
HEX#a799ef
RGBrgb(167 153 239)
HSLhsl(249.77 72.88% 76.86%)
OKLCHoklch(0.73 0.12 290.47)
CMYKcmyk(30.13% 35.98% 0% 6.27%)
Android#ffa799ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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