Skip to content
Vectorlight.net

#ac5dfe

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

HEX
#ac5dfe
RGB
172, 93, 254
HSL
269.44°, 98.77%, 68.04%
OKLCH
0.65 0.23 303.02
Names
—
Lists

Codes

FormatValue
HEX#ac5dfe
RGBrgb(172 93 254)
HSLhsl(269.44 98.77% 68.04%)
OKLCHoklch(0.65 0.23 303.02)
CMYKcmyk(32.28% 63.39% 0% 0.39%)
Android#ffac5dfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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