Skip to content
Vectorlight.net

#a266bc

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

HEX
#a266bc
RGB
162, 102, 188
HSL
281.86°, 39.09%, 56.86%
OKLCH
0.61 0.14 314.97
Names
—
Lists

Codes

FormatValue
HEX#a266bc
RGBrgb(162 102 188)
HSLhsl(281.86 39.09% 56.86%)
OKLCHoklch(0.61 0.14 314.97)
CMYKcmyk(13.83% 45.74% 0% 26.27%)
Android#ffa266bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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