Skip to content
Vectorlight.net

#a257ef

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

HEX
#a257ef
RGB
162, 87, 239
HSL
269.61°, 82.61%, 63.92%
OKLCH
0.62 0.22 303.17
Names
—
Lists

Codes

FormatValue
HEX#a257ef
RGBrgb(162 87 239)
HSLhsl(269.61 82.61% 63.92%)
OKLCHoklch(0.62 0.22 303.17)
CMYKcmyk(32.22% 63.6% 0% 6.27%)
Android#ffa257ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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