#AB8ECC Color Information

Hex color code: #AB8ECC

A soft purple shade, #AB8ECC appears as (171, 142, 204) in RGB and (268°, 38%, 68%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Purple
HEX
#AB8ECC
RGB
171, 142, 204
HSL
268°, 38%, 68%
CMYK
16%, 30%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8ECC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 142, 204

Red: 171 / Green: 142 / Blue: 204

HSL

268°, 38%, 68%

Hue: 268° / Saturation: 38% / Lightness: 68%

CMYK

16%, 30%, 0%, 20%

Cyan: 16% / Magenta: 30% / Yellow: 0% / Key: 20%

What color is #AB8ECC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8ECC to RGB:

rgb(171, 142, 204)HEX to RGB Converter →

HEX to HSL

Convert #AB8ECC to HSL:

hsl(268, 38%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #AB8ECC to CMYK:

cmyk(16%, 30%, 0%, 20%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #AB8ECC has RGB (171, 142, 204) and HSL (268°, 38%, 68%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8ECC is #AFCC8E, creating high-contrast pairings. For softer combinations, try analogous colors like #8E90CC.

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

Contrast with #AB8ECC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8ECC?

#AB8ECC is a delicate purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AB8ECC?

#AB8ECC in RGB is (171, 142, 204) - 171 red, 142 green, and 204 blue.

How to use #AB8ECC in CSS?

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

What colors go well with #AB8ECC?

#AFCC8E (complementary), #8E90CC (analogous), and #845AB5 (lighter shade) work well with #AB8ECC.