#AB87AB Color Information
Hex color code: #AB87AB
A neutral magenta shade, #AB87AB appears as (171, 135, 171) in RGB and (300°, 18%, 60%) in HSL. It is commonly used in modern UI design.
Shades
color: #AB87AB; background-color: #AB87AB; border-color: #AB87AB; box-shadow: 0 0 10px #AB87AB; border: 2px solid #AB87AB;
bg-[#AB87AB] text-[#AB87AB] border-[#AB87AB] shadow-[0_0_10px_AB87AB]
Generate Gradient
background: linear-gradient(90deg, #AB87AB, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #AB87AB in the color wheel.
RGB, HSL and CMYK Values
RGB
171, 135, 171
Red: 171 / Green: 135 / Blue: 171
HSL
300°, 18%, 60%
Hue: 300° / Saturation: 18% / Lightness: 60%
CMYK
0%, 21%, 0%, 33%
Cyan: 0% / Magenta: 21% / Yellow: 0% / Key: 33%
What color is #AB87AB?
#AB87AB is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A balanced magenta tone, #AB87AB has RGB (171, 135, 171) and HSL (300°, 18%, 60%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #AB87AB is #87AB87, creating high-contrast pairings. For softer combinations, try analogous colors like #9987AB.
Use #AB87AB in CSS: color: #AB87AB or background-color: #AB87AB. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #AB87AB
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #AB87AB?
#AB87AB is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #AB87AB?
#AB87AB in RGB is (171, 135, 171) - 171 red, 135 green, and 171 blue.
How to use #AB87AB in CSS?
Use #AB87AB directly in your CSS properties like color or background-color.