Skip to content
Vectorlight.net

#a247ff

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

HEX
#a247ff
RGB
162, 71, 255
HSL
269.67°, 100%, 63.92%
OKLCH
0.61 0.26 301.66
Names
—
Lists

Codes

FormatValue
HEX#a247ff
RGBrgb(162 71 255)
HSLhsl(269.67 100% 63.92%)
OKLCHoklch(0.61 0.26 301.66)
CMYKcmyk(36.47% 72.16% 0% 0%)
Android#ffa247ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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