#AB6CEA Color Information

Hex color code: #AB6CEA

A striking purple shade, #AB6CEA appears as (171, 108, 234) in RGB and (270°, 75%, 67%) in HSL. It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#AB6CEA
RGB
171, 108, 234
HSL
270°, 75%, 67%
CMYK
27%, 54%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB6CEA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 108, 234

Red: 171 / Green: 108 / Blue: 234

HSL

270°, 75%, 67%

Hue: 270° / Saturation: 75% / Lightness: 67%

CMYK

27%, 54%, 0%, 8%

Cyan: 27% / Magenta: 54% / Yellow: 0% / Key: 8%

What color is #AB6CEA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB6CEA to RGB:

rgb(171, 108, 234)HEX to RGB Converter →

HEX to HSL

Convert #AB6CEA to HSL:

hsl(270, 75%, 67%)RGB to HSL Converter →

HEX to CMYK

Convert #AB6CEA to CMYK:

cmyk(27%, 54%, 0%, 8%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #AB6CEA has RGB (171, 108, 234) and HSL (270°, 75%, 67%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB6CEA is #ABEA6C, creating high-contrast pairings. For softer combinations, try analogous colors like #6C6CEA.

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

Contrast with #AB6CEA

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

Contrast Ratio: 6.06:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB6CEA?

#AB6CEA is a vivid purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB6CEA?

#AB6CEA in RGB is (171, 108, 234) - 171 red, 108 green, and 234 blue.

How to use #AB6CEA in CSS?

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

What colors go well with #AB6CEA?

#ABEA6C (complementary), #6C6CEA (analogous), and #8529E0 (lighter shade) work well with #AB6CEA.