#AB87C0 Color Information

Hex color code: #AB87C0

A soft purple shade, #AB87C0 appears as (171, 135, 192) in RGB and (278°, 31%, 64%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AB87C0
RGB
171, 135, 192
HSL
278°, 31%, 64%
CMYK
11%, 30%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB87C0; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 135, 192

Red: 171 / Green: 135 / Blue: 192

HSL

278°, 31%, 64%

Hue: 278° / Saturation: 31% / Lightness: 64%

CMYK

11%, 30%, 0%, 25%

Cyan: 11% / Magenta: 30% / Yellow: 0% / Key: 25%

What color is #AB87C0?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB87C0 to RGB:

rgb(171, 135, 192)HEX to RGB Converter →

HEX to HSL

Convert #AB87C0 to HSL:

hsl(278, 31%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AB87C0 to CMYK:

cmyk(11%, 30%, 0%, 25%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #AB87C0 has RGB (171, 135, 192) and HSL (278°, 31%, 64%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB87C0 is #9CC087, creating high-contrast pairings. For softer combinations, try analogous colors like #8E87C0.

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

Contrast with #AB87C0

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB87C0?

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

What is the RGB value of #AB87C0?

#AB87C0 in RGB is (171, 135, 192) - 171 red, 135 green, and 192 blue.

How to use #AB87C0 in CSS?

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

What colors go well with #AB87C0?

#9CC087 (complementary), #8E87C0 (analogous), and #8756A4 (lighter shade) work well with #AB87C0.