Skip to content
Vectorlight.net

#ac38da

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

HEX
#ac38da
RGB
172, 56, 218
HSL
282.96°, 68.64%, 53.73%
OKLCH
0.58 0.24 314.21
Names
—
Lists

Codes

FormatValue
HEX#ac38da
RGBrgb(172 56 218)
HSLhsl(282.96 68.64% 53.73%)
OKLCHoklch(0.58 0.24 314.21)
CMYKcmyk(21.1% 74.31% 0% 14.51%)
Android#ffac38da

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.33:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ac38da"
Gradient stop
<stop stop-color="#ac38da"/>
CSS variable + fill
:root { --c: #ac38da; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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