Skip to content
Vectorlight.net

#a656f6

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

HEX
#a656f6
RGB
166, 86, 246
HSL
270°, 89.89%, 65.1%
OKLCH
0.63 0.23 303.29
Names
—
Lists

Codes

FormatValue
HEX#a656f6
RGBrgb(166 86 246)
HSLhsl(270 89.89% 65.1%)
OKLCHoklch(0.63 0.23 303.29)
CMYKcmyk(32.52% 65.04% 0% 3.53%)
Android#ffa656f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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