Skip to content
Vectorlight.net

#a795eb

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

HEX
#a795eb
RGB
167, 149, 235
HSL
252.56°, 68.25%, 75.29%
OKLCH
0.72 0.12 292.62
Names
—
Lists

Codes

FormatValue
HEX#a795eb
RGBrgb(167 149 235)
HSLhsl(252.56 68.25% 75.29%)
OKLCHoklch(0.72 0.12 292.62)
CMYKcmyk(28.94% 36.6% 0% 7.84%)
Android#ffa795eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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