#AB8FC2 Color Information

Hex color code: #AB8FC2

#AB8FC2 is a delicate purple color. In RGB it is (171, 143, 194), and in HSL it is (273°, 29%, 66%). It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#AB8FC2
RGB
171, 143, 194
HSL
273°, 29%, 66%
CMYK
12%, 26%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8FC2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 143, 194

Red: 171 / Green: 143 / Blue: 194

HSL

273°, 29%, 66%

Hue: 273° / Saturation: 29% / Lightness: 66%

CMYK

12%, 26%, 0%, 24%

Cyan: 12% / Magenta: 26% / Yellow: 0% / Key: 24%

What color is #AB8FC2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8FC2 to RGB:

rgb(171, 143, 194)HEX to RGB Converter →

HEX to HSL

Convert #AB8FC2 to HSL:

hsl(273, 29%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #AB8FC2 to CMYK:

cmyk(12%, 26%, 0%, 24%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #AB8FC2 has RGB (171, 143, 194) and HSL (273°, 29%, 66%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8FC2 is #A6C18F, creating high-contrast pairings. For softer combinations, try analogous colors like #928FC1.

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

Contrast with #AB8FC2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8FC2?

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

What is the RGB value of #AB8FC2?

#AB8FC2 in RGB is (171, 143, 194) - 171 red, 143 green, and 194 blue.

How to use #AB8FC2 in CSS?

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

What colors go well with #AB8FC2?

#A6C18F (complementary), #928FC1 (analogous), and #865EA6 (lighter shade) work well with #AB8FC2.