#AD87C9 Color Information

Hex color code: #AD87C9

A soft purple shade, #AD87C9 appears as (173, 135, 201) in RGB and (275°, 38%, 66%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AD87C9
RGB
173, 135, 201
HSL
275°, 38%, 66%
CMYK
14%, 33%, 0%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AD87C9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

173, 135, 201

Red: 173 / Green: 135 / Blue: 201

HSL

275°, 38%, 66%

Hue: 275° / Saturation: 38% / Lightness: 66%

CMYK

14%, 33%, 0%, 21%

Cyan: 14% / Magenta: 33% / Yellow: 0% / Key: 21%

What color is #AD87C9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AD87C9 to RGB:

rgb(173, 135, 201)HEX to RGB Converter →

HEX to HSL

Convert #AD87C9 to HSL:

hsl(275, 38%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AD87C9 to CMYK:

cmyk(14%, 33%, 0%, 21%)Color Converter →

Color Meaning and Usage

A pastel purple tone, #AD87C9 has RGB (173, 135, 201) and HSL (275°, 38%, 66%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AD87C9 is #A3C987, creating high-contrast pairings. For softer combinations, try analogous colors like #8D87C9.

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

Contrast with #AD87C9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AD87C9?

#AD87C9 is a pastel purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AD87C9?

#AD87C9 in RGB is (173, 135, 201) - 173 red, 135 green, and 201 blue.

How to use #AD87C9 in CSS?

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

What colors go well with #AD87C9?

#A3C987 (complementary), #8D87C9 (analogous), and #8A53B2 (lighter shade) work well with #AD87C9.