Skip to content
Vectorlight.net

#a792eb

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

HEX
#a792eb
RGB
167, 146, 235
HSL
254.16°, 68.99%, 74.71%
OKLCH
0.71 0.13 293.73
Names
—
Lists

Codes

FormatValue
HEX#a792eb
RGBrgb(167 146 235)
HSLhsl(254.16 68.99% 74.71%)
OKLCHoklch(0.71 0.13 293.73)
CMYKcmyk(28.94% 37.87% 0% 7.84%)
Android#ffa792eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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