Skip to content
Vectorlight.net

#a26ecc

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

HEX
#a26ecc
RGB
162, 110, 204
HSL
273.19°, 47.96%, 61.57%
OKLCH
0.63 0.15 308.27
Names
—
Lists

Codes

FormatValue
HEX#a26ecc
RGBrgb(162 110 204)
HSLhsl(273.19 47.96% 61.57%)
OKLCHoklch(0.63 0.15 308.27)
CMYKcmyk(20.59% 46.08% 0% 20%)
Android#ffa26ecc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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