#A87AA5 Color Information

Hex color code: #A87AA5

#A87AA5 is a pastel magenta color. In RGB it is (168, 122, 165), and in HSL it is (304°, 21%, 57%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#A87AA5
RGB
168, 122, 165
HSL
304°, 21%, 57%
CMYK
0%, 27%, 2%, 34%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A87AA5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 122, 165

Red: 168 / Green: 122 / Blue: 165

HSL

304°, 21%, 57%

Hue: 304° / Saturation: 21% / Lightness: 57%

CMYK

0%, 27%, 2%, 34%

Cyan: 0% / Magenta: 27% / Yellow: 2% / Key: 34%

What color is #A87AA5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A87AA5 to RGB:

rgb(168, 122, 165)HEX to RGB Converter →

HEX to HSL

Convert #A87AA5 to HSL:

hsl(304, 21%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #A87AA5 to CMYK:

cmyk(0%, 27%, 2%, 34%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #A87AA5 has RGB (168, 122, 165) and HSL (304°, 21%, 57%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A87AA5 is #7AA87D, creating high-contrast pairings. For softer combinations, try analogous colors like #947AA8.

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

Contrast with #A87AA5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A87AA5?

#A87AA5 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A87AA5?

#A87AA5 in RGB is (168, 122, 165) - 168 red, 122 green, and 165 blue.

How to use #A87AA5 in CSS?

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

What colors go well with #A87AA5?

#7AA87D (complementary), #947AA8 (analogous), and #82557F (lighter shade) work well with #A87AA5.