#hexpedia

Closest to Purple

#A040A0

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEXA040A0
HEX with ##A040A0
RGBrgb(160, 64, 160)
RGBArgba(160, 64, 160, 1)
HSLhsl(300 42.86% 43.92%)
HSLAhsla(300, 42.86%, 43.92%, 1)
HSVhsv(300, 60%, 62.75%)
CMYKcmyk(0%, 60%, 0%, 37.25%)
OKLCHoklch(53.74% 0.1729 327.65)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

5.62:1

AA normal

Black text

3.74:1

AA large

Reference notes

The hex value #A040A0 sits in the magenta range with a balanced appearance and clear chroma. Measured through common web color formats, the channels resolve to rgb(160 64 160) and an HSL lightness of 44%, which explains its visual density. The balanced cast matters because neighboring colors can make the same hex feel sharper, calmer, or more neutral than it appears in isolation. Because web color is device-dependent, treat the numeric conversion table as the stable reference and use the visual swatch as a quick sanity check. The linked variants and pairings give nearby colors for systematic palettes, while the CSS Forge links let the same value move directly into CSS experiments. For brand-adjacent work, compare the closest named colors before reusing it, because a familiar name can change how stakeholders describe the same swatch. Designers can use it in backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. When combined with lighter or darker variants, it gives enough range for borders, fills, and active states.