Skip to content
Vectorlight.net

#a855f7

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

HEX
#a855f7
RGB
168, 85, 247
HSL
270.74°, 91.01%, 65.1%
OKLCH
0.63 0.23 303.9
Names
—
Lists

Codes

FormatValue
HEX#a855f7
RGBrgb(168 85 247)
HSLhsl(270.74 91.01% 65.1%)
OKLCHoklch(0.63 0.23 303.9)
CMYKcmyk(31.98% 65.59% 0% 3.14%)
Android#ffa855f7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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