Skip to content
Vectorlight.net

#a770da

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

HEX
#a770da
RGB
167, 112, 218
HSL
271.13°, 58.89%, 64.71%
OKLCH
0.65 0.16 306.37
Names
—
Lists

Codes

FormatValue
HEX#a770da
RGBrgb(167 112 218)
HSLhsl(271.13 58.89% 64.71%)
OKLCHoklch(0.65 0.16 306.37)
CMYKcmyk(23.39% 48.62% 0% 14.51%)
Android#ffa770da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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