Skip to content
Vectorlight.net

#a262ba

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

HEX
#a262ba
RGB
162, 98, 186
HSL
283.64°, 38.94%, 55.69%
OKLCH
0.6 0.15 316.23
Names
—
Lists

Codes

FormatValue
HEX#a262ba
RGBrgb(162 98 186)
HSLhsl(283.64 38.94% 55.69%)
OKLCHoklch(0.6 0.15 316.23)
CMYKcmyk(12.9% 47.31% 0% 27.06%)
Android#ffa262ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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