#AB8AEF Color Information

Hex color code: #AB8AEF

#AB8AEF is a vivid purple color. In RGB it is (171, 138, 239), and in HSL it is (260°, 76%, 74%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#AB8AEF
RGB
171, 138, 239
HSL
260°, 76%, 74%
CMYK
28%, 42%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8AEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 138, 239

Red: 171 / Green: 138 / Blue: 239

HSL

260°, 76%, 74%

Hue: 260° / Saturation: 76% / Lightness: 74%

CMYK

28%, 42%, 0%, 6%

Cyan: 28% / Magenta: 42% / Yellow: 0% / Key: 6%

What color is #AB8AEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8AEF to RGB:

rgb(171, 138, 239)HEX to RGB Converter →

HEX to HSL

Convert #AB8AEF to HSL:

hsl(260, 76%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #AB8AEF to CMYK:

cmyk(28%, 42%, 0%, 6%)Color Converter →

Color Meaning and Usage

A bold purple tone, #AB8AEF has RGB (171, 138, 239) and HSL (260°, 76%, 74%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8AEF is #CDEF8A, creating high-contrast pairings. For softer combinations, try analogous colors like #8A9BEF.

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

Contrast with #AB8AEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8AEF?

#AB8AEF is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AB8AEF?

#AB8AEF in RGB is (171, 138, 239) - 171 red, 138 green, and 239 blue.

How to use #AB8AEF in CSS?

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

What colors go well with #AB8AEF?

#CDEF8A (complementary), #8A9BEF (analogous), and #7C47E6 (lighter shade) work well with #AB8AEF.