#AA7FD2 Color Information

Hex color code: #AA7FD2

The hex color #AA7FD2 is a subtle purple with RGB values of (170, 127, 210) and HSL of (271°, 48%, 66%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AA7FD2
RGB
170, 127, 210
HSL
271°, 48%, 66%
CMYK
19%, 40%, 0%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AA7FD2; 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 #AA7FD2; background-color: #AA7FD215; }

Alert / Toast

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

Link / Accent

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

a { color: #AA7FD2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 127, 210

Red: 170 / Green: 127 / Blue: 210

HSL

271°, 48%, 66%

Hue: 271° / Saturation: 48% / Lightness: 66%

CMYK

19%, 40%, 0%, 18%

Cyan: 19% / Magenta: 40% / Yellow: 0% / Key: 18%

What color is #AA7FD2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA7FD2 to RGB:

rgb(170, 127, 210)HEX to RGB Converter →

HEX to HSL

Convert #AA7FD2 to HSL:

hsl(271, 48%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AA7FD2 to CMYK:

cmyk(19%, 40%, 0%, 18%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #AA7FD2 has RGB (170, 127, 210) and HSL (271°, 48%, 66%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AA7FD2 is #A7D27F, creating high-contrast pairings. For softer combinations, try analogous colors like #807FD2.

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

Contrast with #AA7FD2

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

Contrast Ratio: 6.68:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA7FD2?

#AA7FD2 is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AA7FD2?

#AA7FD2 in RGB is (170, 127, 210) - 170 red, 127 green, and 210 blue.

How to use #AA7FD2 in CSS?

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

What colors go well with #AA7FD2?

#A7D27F (complementary), #807FD2 (analogous), and #8446BE (lighter shade) work well with #AA7FD2.