Skip to content
Vectorlight.net

#a796ee

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

HEX
#a796ee
RGB
167, 150, 238
HSL
251.59°, 72.13%, 76.08%
OKLCH
0.72 0.13 291.79
Names
—
Lists

Codes

FormatValue
HEX#a796ee
RGBrgb(167 150 238)
HSLhsl(251.59 72.13% 76.08%)
OKLCHoklch(0.72 0.13 291.79)
CMYKcmyk(29.83% 36.97% 0% 6.67%)
Android#ffa796ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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