#AB9CBA Color Information

Hex color code: #AB9CBA

#AB9CBA is a balanced purple color. In RGB it is (171, 156, 186), and in HSL it is (270°, 18%, 67%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#AB9CBA
RGB
171, 156, 186
HSL
270°, 18%, 67%
CMYK
8%, 16%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB9CBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 156, 186

Red: 171 / Green: 156 / Blue: 186

HSL

270°, 18%, 67%

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

CMYK

8%, 16%, 0%, 27%

Cyan: 8% / Magenta: 16% / Yellow: 0% / Key: 27%

What color is #AB9CBA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB9CBA to RGB:

rgb(171, 156, 186)HEX to RGB Converter →

HEX to HSL

Convert #AB9CBA to HSL:

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

HEX to CMYK

Convert #AB9CBA to CMYK:

cmyk(8%, 16%, 0%, 27%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #AB9CBA has RGB (171, 156, 186) and HSL (270°, 18%, 67%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB9CBA is #ABBA9C, creating high-contrast pairings. For softer combinations, try analogous colors like #9C9CBA.

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

Contrast with #AB9CBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB9CBA?

#AB9CBA is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB9CBA?

#AB9CBA in RGB is (171, 156, 186) - 171 red, 156 green, and 186 blue.

How to use #AB9CBA in CSS?

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

What colors go well with #AB9CBA?

#ABBA9C (complementary), #9C9CBA (analogous), and #856F9B (lighter shade) work well with #AB9CBA.