Skip to content
Vectorlight.net

#a257fd

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

HEX
#a257fd
RGB
162, 87, 253
HSL
267.11°, 97.65%, 66.67%
OKLCH
0.63 0.24 300.43
Names
—
Lists

Codes

FormatValue
HEX#a257fd
RGBrgb(162 87 253)
HSLhsl(267.11 97.65% 66.67%)
OKLCHoklch(0.63 0.24 300.43)
CMYKcmyk(35.97% 65.61% 0% 0.78%)
Android#ffa257fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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