Skip to content
Vectorlight.net

#a259eb

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

HEX
#a259eb
RGB
162, 89, 235
HSL
270°, 78.49%, 63.53%
OKLCH
0.62 0.21 303.77
Names
—
Lists

Codes

FormatValue
HEX#a259eb
RGBrgb(162 89 235)
HSLhsl(270 78.49% 63.53%)
OKLCHoklch(0.62 0.21 303.77)
CMYKcmyk(31.06% 62.13% 0% 7.84%)
Android#ffa259eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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