Skip to content
Vectorlight.net

#a855f1

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

HEX
#a855f1
RGB
168, 85, 241
HSL
271.92°, 84.78%, 63.92%
OKLCH
0.62 0.23 305.14
Names
—
Lists

Codes

FormatValue
HEX#a855f1
RGBrgb(168 85 241)
HSLhsl(271.92 84.78% 63.92%)
OKLCHoklch(0.62 0.23 305.14)
CMYKcmyk(30.29% 64.73% 0% 5.49%)
Android#ffa855f1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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