Skip to content
Vectorlight.net

#a780ee

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

HEX
#a780ee
RGB
167, 128, 238
HSL
261.27°, 76.39%, 71.76%
OKLCH
0.68 0.16 298.42
Names
—
Lists

Codes

FormatValue
HEX#a780ee
RGBrgb(167 128 238)
HSLhsl(261.27 76.39% 71.76%)
OKLCHoklch(0.68 0.16 298.42)
CMYKcmyk(29.83% 46.22% 0% 6.67%)
Android#ffa780ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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