Skip to content
Vectorlight.net

#a370eb

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

HEX
#a370eb
RGB
163, 112, 235
HSL
264.88°, 75.46%, 68.04%
OKLCH
0.65 0.18 300.63
Names
—
Lists

Codes

FormatValue
HEX#a370eb
RGBrgb(163 112 235)
HSLhsl(264.88 75.46% 68.04%)
OKLCHoklch(0.65 0.18 300.63)
CMYKcmyk(30.64% 52.34% 0% 7.84%)
Android#ffa370eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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