Skip to content
Vectorlight.net

#a277dc

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

HEX
#a277dc
RGB
162, 119, 220
HSL
265.54°, 59.06%, 66.47%
OKLCH
0.65 0.15 302.05
Names
—
Lists

Codes

FormatValue
HEX#a277dc
RGBrgb(162 119 220)
HSLhsl(265.54 59.06% 66.47%)
OKLCHoklch(0.65 0.15 302.05)
CMYKcmyk(26.36% 45.91% 0% 13.73%)
Android#ffa277dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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