Skip to content
Vectorlight.net

#a266df

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

HEX
#a266df
RGB
162, 102, 223
HSL
269.75°, 65.41%, 63.73%
OKLCH
0.63 0.18 304.61
Names
—
Lists

Codes

FormatValue
HEX#a266df
RGBrgb(162 102 223)
HSLhsl(269.75 65.41% 63.73%)
OKLCHoklch(0.63 0.18 304.61)
CMYKcmyk(27.35% 54.26% 0% 12.55%)
Android#ffa266df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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