Skip to content
Vectorlight.net

#a792ec

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

HEX
#a792ec
RGB
167, 146, 236
HSL
254°, 70.31%, 74.9%
OKLCH
0.71 0.13 293.57
Names
—
Lists

Codes

FormatValue
HEX#a792ec
RGBrgb(167 146 236)
HSLhsl(254 70.31% 74.9%)
OKLCHoklch(0.71 0.13 293.57)
CMYKcmyk(29.24% 38.14% 0% 7.45%)
Android#ffa792ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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