#AB8CEE Color Information

Hex color code: #AB8CEE

#AB8CEE is a bold purple color. In RGB it is (171, 140, 238), and in HSL it is (259°, 74%, 74%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AB8CEE
RGB
171, 140, 238
HSL
259°, 74%, 74%
CMYK
28%, 41%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8CEE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 140, 238

Red: 171 / Green: 140 / Blue: 238

HSL

259°, 74%, 74%

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

CMYK

28%, 41%, 0%, 7%

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

What color is #AB8CEE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8CEE to RGB:

rgb(171, 140, 238)HEX to RGB Converter →

HEX to HSL

Convert #AB8CEE to HSL:

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

HEX to CMYK

Convert #AB8CEE to CMYK:

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

Color Meaning and Usage

A eye-catching purple tone, #AB8CEE has RGB (171, 140, 238) and HSL (259°, 74%, 74%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8CEE is #CFEE8C, creating high-contrast pairings. For softer combinations, try analogous colors like #8C9EEE.

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

Contrast with #AB8CEE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8CEE?

#AB8CEE is a eye-catching purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AB8CEE?

#AB8CEE in RGB is (171, 140, 238) - 171 red, 140 green, and 238 blue.

How to use #AB8CEE in CSS?

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

What colors go well with #AB8CEE?

#CFEE8C (complementary), #8C9EEE (analogous), and #7A49E4 (lighter shade) work well with #AB8CEE.