Skip to content
Vectorlight.net

#a42ced

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

HEX
#a42ced
RGB
164, 44, 237
HSL
277.31°, 84.28%, 55.1%
OKLCH
0.58 0.26 307.79
Names
—
Lists

Codes

FormatValue
HEX#a42ced
RGBrgb(164 44 237)
HSLhsl(277.31 84.28% 55.1%)
OKLCHoklch(0.58 0.26 307.79)
CMYKcmyk(30.8% 81.43% 0% 7.06%)
Android#ffa42ced

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.16:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#a42ced"
Gradient stop
<stop stop-color="#a42ced"/>
CSS variable + fill
:root { --c: #a42ced; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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