Skip to content
Vectorlight.net

#a792ea

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

HEX
#a792ea
RGB
167, 146, 234
HSL
254.32°, 67.69%, 74.51%
OKLCH
0.71 0.13 293.9
Names
—
Lists

Codes

FormatValue
HEX#a792ea
RGBrgb(167 146 234)
HSLhsl(254.32 67.69% 74.51%)
OKLCHoklch(0.71 0.13 293.9)
CMYKcmyk(28.63% 37.61% 0% 8.24%)
Android#ffa792ea

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

Recolor an SVG with this color

CSS

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