#AB7FBD Color Information

Hex color code: #AB7FBD

#AB7FBD is a subtle purple color. In RGB it is (171, 127, 189), and in HSL it is (283°, 32%, 62%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AB7FBD
RGB
171, 127, 189
HSL
283°, 32%, 62%
CMYK
10%, 33%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB7FBD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 127, 189

Red: 171 / Green: 127 / Blue: 189

HSL

283°, 32%, 62%

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

CMYK

10%, 33%, 0%, 26%

Cyan: 10% / Magenta: 33% / Yellow: 0% / Key: 26%

What color is #AB7FBD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB7FBD to RGB:

rgb(171, 127, 189)HEX to RGB Converter →

HEX to HSL

Convert #AB7FBD to HSL:

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

HEX to CMYK

Convert #AB7FBD to CMYK:

cmyk(10%, 33%, 0%, 26%)Color Converter →

Color Meaning and Usage

#AB7FBD is a soft purple color with RGB values of 171, 127, 189 and HSL of 283°, 32%, 62%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB7FBD is #91BD7F, creating high-contrast pairings. For softer combinations, try analogous colors like #8D7FBD.

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

Contrast with #AB7FBD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB7FBD?

#AB7FBD is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB7FBD?

#AB7FBD in RGB is (171, 127, 189) - 171 red, 127 green, and 189 blue.

How to use #AB7FBD in CSS?

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

What colors go well with #AB7FBD?

#91BD7F (complementary), #8D7FBD (analogous), and #88519E (lighter shade) work well with #AB7FBD.