Skip to content
Vectorlight.net

#ac4fdb

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

HEX
#ac4fdb
RGB
172, 79, 219
HSL
279.86°, 66.04%, 58.43%
OKLCH
0.61 0.21 312.35
Names
—
Lists

Codes

FormatValue
HEX#ac4fdb
RGBrgb(172 79 219)
HSLhsl(279.86 66.04% 58.43%)
OKLCHoklch(0.61 0.21 312.35)
CMYKcmyk(21.46% 63.93% 0% 14.12%)
Android#ffac4fdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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