Skip to content
Vectorlight.net

#a262bc

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

HEX
#a262bc
RGB
162, 98, 188
HSL
282.67°, 40.18%, 56.08%
OKLCH
0.6 0.15 315.5
Names
—
Lists

Codes

FormatValue
HEX#a262bc
RGBrgb(162 98 188)
HSLhsl(282.67 40.18% 56.08%)
OKLCHoklch(0.6 0.15 315.5)
CMYKcmyk(13.83% 47.87% 0% 26.27%)
Android#ffa262bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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