Skip to content
Vectorlight.net

#a780cc

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

HEX
#a780cc
RGB
167, 128, 204
HSL
270.79°, 42.7%, 65.1%
OKLCH
0.67 0.12 307.06
Names
—
Lists

Codes

FormatValue
HEX#a780cc
RGBrgb(167 128 204)
HSLhsl(270.79 42.7% 65.1%)
OKLCHoklch(0.67 0.12 307.06)
CMYKcmyk(18.14% 37.25% 0% 20%)
Android#ffa780cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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