Skip to content
Vectorlight.net

#a040fd

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

HEX
#a040fd
RGB
160, 64, 253
HSL
270.48°, 97.93%, 62.16%
OKLCH
0.6 0.26 301.96
Names
—
Lists

Codes

FormatValue
HEX#a040fd
RGBrgb(160 64 253)
HSLhsl(270.48 97.93% 62.16%)
OKLCHoklch(0.6 0.26 301.96)
CMYKcmyk(36.76% 74.7% 0% 0.78%)
Android#ffa040fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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