Skip to content
Vectorlight.net

#a257ba

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

HEX
#a257ba
RGB
162, 87, 186
HSL
285.45°, 41.77%, 53.53%
OKLCH
0.58 0.16 317.41
Names
—
Lists

Codes

FormatValue
HEX#a257ba
RGBrgb(162 87 186)
HSLhsl(285.45 41.77% 53.53%)
OKLCHoklch(0.58 0.16 317.41)
CMYKcmyk(12.9% 53.23% 0% 27.06%)
Android#ffa257ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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