Skip to content
Vectorlight.net

#a855e6

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

HEX
#a855e6
RGB
168, 85, 230
HSL
274.34°, 74.36%, 61.76%
OKLCH
0.62 0.21 307.59
Names
—
Lists

Codes

FormatValue
HEX#a855e6
RGBrgb(168 85 230)
HSLhsl(274.34 74.36% 61.76%)
OKLCHoklch(0.62 0.21 307.59)
CMYKcmyk(26.96% 63.04% 0% 9.8%)
Android#ffa855e6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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