Skip to content
Vectorlight.net

#a391eb

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

HEX
#a391eb
RGB
163, 145, 235
HSL
252°, 69.23%, 74.51%
OKLCH
0.71 0.13 291.93
Names
—
Lists

Codes

FormatValue
HEX#a391eb
RGBrgb(163 145 235)
HSLhsl(252 69.23% 74.51%)
OKLCHoklch(0.71 0.13 291.93)
CMYKcmyk(30.64% 38.3% 0% 7.84%)
Android#ffa391eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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