Skip to content
Vectorlight.net

#a277eb

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

HEX
#a277eb
RGB
162, 119, 235
HSL
262.24°, 74.36%, 69.41%
OKLCH
0.66 0.17 298.8
Names
—
Lists

Codes

FormatValue
HEX#a277eb
RGBrgb(162 119 235)
HSLhsl(262.24 74.36% 69.41%)
OKLCHoklch(0.66 0.17 298.8)
CMYKcmyk(31.06% 49.36% 0% 7.84%)
Android#ffa277eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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