Skip to content
Vectorlight.net

#a286ff

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

HEX
#a286ff
RGB
162, 134, 255
HSL
253.88°, 100%, 76.27%
OKLCH
0.7 0.17 291.97
Names
—
Lists

Codes

FormatValue
HEX#a286ff
RGBrgb(162 134 255)
HSLhsl(253.88 100% 76.27%)
OKLCHoklch(0.7 0.17 291.97)
CMYKcmyk(36.47% 47.45% 0% 0%)
Android#ffa286ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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