#AA97BA Color Information

Hex color code: #AA97BA

The hex color #AA97BA is a soft purple with RGB values of (170, 151, 186) and HSL of (273°, 20%, 66%). It is typically applied in digital products.

Try:
Color NameSilver
HEX
#AA97BA
RGB
170, 151, 186
HSL
273°, 20%, 66%
CMYK
9%, 19%, 0%, 27%

Shades

CSS Usage
color: #AA97BA;
background-color: #AA97BA;
border-color: #AA97BA;
box-shadow: 0 0 10px #AA97BA;
border: 2px solid #AA97BA;
Tailwind Usage
bg-[#AA97BA]
text-[#AA97BA]
border-[#AA97BA]
shadow-[0_0_10px_AA97BA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #AA97BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #AA97BA; color: #000000; }

Badge

New Feature
.badge { background-color: #AA97BA; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #AA97BA; background-color: #AA97BA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #AA97BA20; border-left: 4px solid #AA97BA; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #AA97BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AA97BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 151, 186

Red: 170 / Green: 151 / Blue: 186

HSL

273°, 20%, 66%

Hue: 273° / Saturation: 20% / Lightness: 66%

CMYK

9%, 19%, 0%, 27%

Cyan: 9% / Magenta: 19% / Yellow: 0% / Key: 27%

What color is #AA97BA?

#AA97BA is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA97BA to RGB:

rgb(170, 151, 186)HEX to RGB Converter →

HEX to HSL

Convert #AA97BA to HSL:

hsl(273, 20%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AA97BA to CMYK:

cmyk(9%, 19%, 0%, 27%)Color Converter →

Color Meaning and Usage

#AA97BA is a soft purple color with RGB values of 170, 151, 186 and HSL of 273°, 20%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AA97BA is #A7BA97, creating high-contrast pairings. For softer combinations, try analogous colors like #9997BA.

Use #AA97BA in CSS: color: #AA97BA or background-color: #AA97BA. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #AA97BA

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.84:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA97BA?

#AA97BA is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AA97BA?

#AA97BA in RGB is (170, 151, 186) - 170 red, 151 green, and 186 blue.

How to use #AA97BA in CSS?

Use #AA97BA directly in your CSS properties like color or background-color.

What colors go well with #AA97BA?

#A7BA97 (complementary), #9997BA (analogous), and #85699B (lighter shade) work well with #AA97BA.