Skip to content
Vectorlight.net

#a57dfb

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

HEX
#a57dfb
RGB
165, 125, 251
HSL
259.05°, 94.03%, 73.73%
OKLCH
0.68 0.18 295.9
Names
—
Lists

Codes

FormatValue
HEX#a57dfb
RGBrgb(165 125 251)
HSLhsl(259.05 94.03% 73.73%)
OKLCHoklch(0.68 0.18 295.9)
CMYKcmyk(34.26% 50.2% 0% 1.57%)
Android#ffa57dfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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