Skip to content
Vectorlight.net

#a266de

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

HEX
#a266de
RGB
162, 102, 222
HSL
270°, 64.52%, 63.53%
OKLCH
0.63 0.18 304.85
Names
—
Lists

Codes

FormatValue
HEX#a266de
RGBrgb(162 102 222)
HSLhsl(270 64.52% 63.53%)
OKLCHoklch(0.63 0.18 304.85)
CMYKcmyk(27.03% 54.05% 0% 12.94%)
Android#ffa266de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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