#AB87CF Color Information

Hex color code: #AB87CF

#AB87CF is a gentle purple color. In RGB it is (171, 135, 207), and in HSL it is (270°, 43%, 67%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AB87CF
RGB
171, 135, 207
HSL
270°, 43%, 67%
CMYK
17%, 35%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB87CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 135, 207

Red: 171 / Green: 135 / Blue: 207

HSL

270°, 43%, 67%

Hue: 270° / Saturation: 43% / Lightness: 67%

CMYK

17%, 35%, 0%, 19%

Cyan: 17% / Magenta: 35% / Yellow: 0% / Key: 19%

What color is #AB87CF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB87CF to RGB:

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

HEX to HSL

Convert #AB87CF to HSL:

hsl(270, 43%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AB87CF to CMYK:

cmyk(17%, 35%, 0%, 19%)Color Converter →

Color Meaning and Usage

#AB87CF is a delicate purple color with RGB values of 171, 135, 207 and HSL of 270°, 43%, 67%. This magenta-red hue evokes romance and playfulness, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB87CF is #ABCF87, creating high-contrast pairings. For softer combinations, try analogous colors like #8787CF.

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

Contrast with #AB87CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB87CF?

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

What is the RGB value of #AB87CF?

#AB87CF in RGB is (171, 135, 207) - 171 red, 135 green, and 207 blue.

How to use #AB87CF in CSS?

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

What colors go well with #AB87CF?

#ABCF87 (complementary), #8787CF (analogous), and #8550B9 (lighter shade) work well with #AB87CF.