Skip to content
Vectorlight.net

#a834cc

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

HEX
#a834cc
RGB
168, 52, 204
HSL
285.79°, 59.84%, 50.2%
OKLCH
0.56 0.23 316.72
Names
—
Lists

Codes

FormatValue
HEX#a834cc
RGBrgb(168 52 204)
HSLhsl(285.79 59.84% 50.2%)
OKLCHoklch(0.56 0.23 316.72)
CMYKcmyk(17.65% 74.51% 0% 20%)
Android#ffa834cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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