#A28AE1 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #a28ae1 graphic
This muted, unsaturated purple sits on the cooler side of the spectrum. Because of its light tone, black text remains highly readable at a 7.3:1 contrast ratio, making it a reliable choice for UI elements. The hex code for this shade is #a28ae1. Pair it with deep charcoal grays to add weight and sophistication to your design palette.

Questions about #a28ae1

What is #a28ae1 in RGB, HSL and CMYK?
In RGB, #a28ae1 is rgb(162, 138, 225), in HSL hsl(257, 59%, 71%) and in CMYK 28%, 39%, 0%, 12%. Browse more shades of purple with names and hex codes.
Why is #a28ae1 a good choice for UI design?
This specific shade works well in interfaces because its unsaturated, cool purple tone provides strong contrast against standard dark text. It achieves a 7.3:1 ratio, ensuring accessibility requirements are met while keeping the design feeling sophisticated and modern.
What color combinations work best with #a28ae1?
Pair #a28ae1 with charcoal or deep slate grays to ground the color and add visual weight to your palette. Using it alongside soft, desaturated neutrals creates a balanced, professional look that avoids the overwhelm often caused by brighter, saturated violets.
Is #a28ae1 readable on white or black?
#a28ae1 has a 2.89:1 contrast ratio on white and 7.25:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.