Skip to content
Vectorlight.net

#a841eb

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

HEX
#a841eb
RGB
168, 65, 235
HSL
276.35°, 80.95%, 58.82%
OKLCH
0.6 0.24 308.25
Names
—
Lists

Codes

FormatValue
HEX#a841eb
RGBrgb(168 65 235)
HSLhsl(276.35 80.95% 58.82%)
OKLCHoklch(0.6 0.24 308.25)
CMYKcmyk(28.51% 72.34% 0% 7.84%)
Android#ffa841eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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