Skip to content
Vectorlight.net

#a275ef

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

HEX
#a275ef
RGB
162, 117, 239
HSL
262.13°, 79.22%, 69.8%
OKLCH
0.66 0.18 298.44
Names
—
Lists

Codes

FormatValue
HEX#a275ef
RGBrgb(162 117 239)
HSLhsl(262.13 79.22% 69.8%)
OKLCHoklch(0.66 0.18 298.44)
CMYKcmyk(32.22% 51.05% 0% 6.27%)
Android#ffa275ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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