Skip to content
Vectorlight.net

#a855e4

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

HEX
#a855e4
RGB
168, 85, 228
HSL
274.83°, 72.59%, 61.37%
OKLCH
0.61 0.21 308.06
Names
—
Lists

Codes

FormatValue
HEX#a855e4
RGBrgb(168 85 228)
HSLhsl(274.83 72.59% 61.37%)
OKLCHoklch(0.61 0.21 308.06)
CMYKcmyk(26.32% 62.72% 0% 10.59%)
Android#ffa855e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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