Skip to content
Vectorlight.net

#a855f0

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

HEX
#a855f0
RGB
168, 85, 240
HSL
272.13°, 83.78%, 63.73%
OKLCH
0.62 0.23 305.36
Names
—
Lists

Codes

FormatValue
HEX#a855f0
RGBrgb(168 85 240)
HSLhsl(272.13 83.78% 63.73%)
OKLCHoklch(0.62 0.23 305.36)
CMYKcmyk(30% 64.58% 0% 5.88%)
Android#ffa855f0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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