Skip to content
Vectorlight.net

#a772dc

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

HEX
#a772dc
RGB
167, 114, 220
HSL
270°, 60.23%, 65.49%
OKLCH
0.65 0.16 305.48
Names
—
Lists

Codes

FormatValue
HEX#a772dc
RGBrgb(167 114 220)
HSLhsl(270 60.23% 65.49%)
OKLCHoklch(0.65 0.16 305.48)
CMYKcmyk(24.09% 48.18% 0% 13.73%)
Android#ffa772dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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