Skip to content
Vectorlight.net

#a286fe

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

HEX
#a286fe
RGB
162, 134, 254
HSL
254°, 98.36%, 76.08%
OKLCH
0.7 0.17 292.1
Names
—
Lists

Codes

FormatValue
HEX#a286fe
RGBrgb(162 134 254)
HSLhsl(254 98.36% 76.08%)
OKLCHoklch(0.7 0.17 292.1)
CMYKcmyk(36.22% 47.24% 0% 0.39%)
Android#ffa286fe

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.37: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="#a286fe"
Gradient stop
<stop stop-color="#a286fe"/>
CSS variable + fill
:root { --c: #a286fe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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