#AB81BB Color Information

Hex color code: #AB81BB

A soft purple shade, #AB81BB appears as (171, 129, 187) in RGB and (283°, 30%, 62%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AB81BB
RGB
171, 129, 187
HSL
283°, 30%, 62%
CMYK
9%, 31%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB81BB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 129, 187

Red: 171 / Green: 129 / Blue: 187

HSL

283°, 30%, 62%

Hue: 283° / Saturation: 30% / Lightness: 62%

CMYK

9%, 31%, 0%, 27%

Cyan: 9% / Magenta: 31% / Yellow: 0% / Key: 27%

What color is #AB81BB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB81BB to RGB:

rgb(171, 129, 187)HEX to RGB Converter →

HEX to HSL

Convert #AB81BB to HSL:

hsl(283, 30%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #AB81BB to CMYK:

cmyk(9%, 31%, 0%, 27%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #AB81BB has RGB (171, 129, 187) and HSL (283°, 30%, 62%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB81BB is #92BB81, creating high-contrast pairings. For softer combinations, try analogous colors like #8E81BB.

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

Contrast with #AB81BB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB81BB?

#AB81BB is a gentle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB81BB?

#AB81BB in RGB is (171, 129, 187) - 171 red, 129 green, and 187 blue.

How to use #AB81BB in CSS?

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

What colors go well with #AB81BB?

#92BB81 (complementary), #8E81BB (analogous), and #87549C (lighter shade) work well with #AB81BB.