#AC87C9 Color Information

Hex color code: #AC87C9

The hex color #AC87C9 is a gentle purple with RGB values of (172, 135, 201) and HSL of (274°, 38%, 66%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AC87C9
RGB
172, 135, 201
HSL
274°, 38%, 66%
CMYK
14%, 33%, 0%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC87C9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 135, 201

Red: 172 / Green: 135 / Blue: 201

HSL

274°, 38%, 66%

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

CMYK

14%, 33%, 0%, 21%

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

What color is #AC87C9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC87C9 to RGB:

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

HEX to HSL

Convert #AC87C9 to HSL:

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

HEX to CMYK

Convert #AC87C9 to CMYK:

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

Color Meaning and Usage

A delicate purple tone, #AC87C9 has RGB (172, 135, 201) and HSL (274°, 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 #AC87C9 is #A4C987, creating high-contrast pairings. For softer combinations, try analogous colors like #8C87C9.

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

Contrast with #AC87C9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC87C9?

#AC87C9 is a delicate purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AC87C9?

#AC87C9 in RGB is (172, 135, 201) - 172 red, 135 green, and 201 blue.

How to use #AC87C9 in CSS?

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

What colors go well with #AC87C9?

#A4C987 (complementary), #8C87C9 (analogous), and #8853B2 (lighter shade) work well with #AC87C9.