Skip to content
Vectorlight.net

#a285ff

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

HEX
#a285ff
RGB
162, 133, 255
HSL
254.26°, 100%, 76.08%
OKLCH
0.7 0.17 292.21
Names
—
Lists

Codes

FormatValue
HEX#a285ff
RGBrgb(162 133 255)
HSLhsl(254.26 100% 76.08%)
OKLCHoklch(0.7 0.17 292.21)
CMYKcmyk(36.47% 47.84% 0% 0%)
Android#ffa285ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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