Skip to content
Vectorlight.net

#a26ee2

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

HEX
#a26ee2
RGB
162, 110, 226
HSL
266.9°, 66.67%, 65.88%
OKLCH
0.64 0.17 302.52
Names
—
Lists

Codes

FormatValue
HEX#a26ee2
RGBrgb(162 110 226)
HSLhsl(266.9 66.67% 65.88%)
OKLCHoklch(0.64 0.17 302.52)
CMYKcmyk(28.32% 51.33% 0% 11.37%)
Android#ffa26ee2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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