#AB8DEC Color Information

Hex color code: #AB8DEC

A eye-catching purple shade, #AB8DEC appears as (171, 141, 236) in RGB and (259°, 71%, 74%) in HSL. It is widely used in graphic design.

Try:
Color NameMedium Purple
HEX
#AB8DEC
RGB
171, 141, 236
HSL
259°, 71%, 74%
CMYK
28%, 40%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8DEC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 141, 236

Red: 171 / Green: 141 / Blue: 236

HSL

259°, 71%, 74%

Hue: 259° / Saturation: 71% / Lightness: 74%

CMYK

28%, 40%, 0%, 7%

Cyan: 28% / Magenta: 40% / Yellow: 0% / Key: 7%

What color is #AB8DEC?

#AB8DEC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8DEC to RGB:

rgb(171, 141, 236)HEX to RGB Converter →

HEX to HSL

Convert #AB8DEC to HSL:

hsl(259, 71%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #AB8DEC to CMYK:

cmyk(28%, 40%, 0%, 7%)Color Converter →

Color Meaning and Usage

#AB8DEC is a dynamic purple color with RGB values of 171, 141, 236 and HSL of 259°, 71%, 74%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8DEC is #CEEC8E, creating high-contrast pairings. For softer combinations, try analogous colors like #8E9FEC.

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

Contrast with #AB8DEC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8DEC?

#AB8DEC is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AB8DEC?

#AB8DEC in RGB is (171, 141, 236) - 171 red, 141 green, and 236 blue.

How to use #AB8DEC in CSS?

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

What colors go well with #AB8DEC?

#CEEC8E (complementary), #8E9FEC (analogous), and #7B4CE1 (lighter shade) work well with #AB8DEC.