Skip to content
Vectorlight.net

#aca5f2

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

HEX
#aca5f2
RGB
172, 165, 242
HSL
245.45°, 74.76%, 79.8%
OKLCH
0.76 0.11 287.64
Names
—
Lists

Codes

FormatValue
HEX#aca5f2
RGBrgb(172 165 242)
HSLhsl(245.45 74.76% 79.8%)
OKLCHoklch(0.76 0.11 287.64)
CMYKcmyk(28.93% 31.82% 0% 5.1%)
Android#ffaca5f2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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