Skip to content
Vectorlight.net

#a656e7

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

HEX
#a656e7
RGB
166, 86, 231
HSL
273.1°, 75.13%, 62.16%
OKLCH
0.62 0.21 306.5
Names
—
Lists

Codes

FormatValue
HEX#a656e7
RGBrgb(166 86 231)
HSLhsl(273.1 75.13% 62.16%)
OKLCHoklch(0.62 0.21 306.5)
CMYKcmyk(28.14% 62.77% 0% 9.41%)
Android#ffa656e7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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