Skip to content
Vectorlight.net

#a26cb2

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

HEX
#a26cb2
RGB
162, 108, 178
HSL
286.29°, 31.25%, 56.08%
OKLCH
0.61 0.12 318.27
Names
—
Lists

Codes

FormatValue
HEX#a26cb2
RGBrgb(162 108 178)
HSLhsl(286.29 31.25% 56.08%)
OKLCHoklch(0.61 0.12 318.27)
CMYKcmyk(8.99% 39.33% 0% 30.2%)
Android#ffa26cb2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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