Skip to content
Vectorlight.net

#a266da

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

HEX
#a266da
RGB
162, 102, 218
HSL
271.03°, 61.05%, 62.75%
OKLCH
0.63 0.18 305.83
Names
—
Lists

Codes

FormatValue
HEX#a266da
RGBrgb(162 102 218)
HSLhsl(271.03 61.05% 62.75%)
OKLCHoklch(0.63 0.18 305.83)
CMYKcmyk(25.69% 53.21% 0% 14.51%)
Android#ffa266da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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