#AB7BEA Color Information

Hex color code: #AB7BEA

#AB7BEA is a bold purple color. In RGB it is (171, 123, 234), and in HSL it is (266°, 73%, 70%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#AB7BEA
RGB
171, 123, 234
HSL
266°, 73%, 70%
CMYK
27%, 47%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB7BEA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 123, 234

Red: 171 / Green: 123 / Blue: 234

HSL

266°, 73%, 70%

Hue: 266° / Saturation: 73% / Lightness: 70%

CMYK

27%, 47%, 0%, 8%

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

What color is #AB7BEA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB7BEA to RGB:

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

HEX to HSL

Convert #AB7BEA to HSL:

hsl(266, 73%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #AB7BEA to CMYK:

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

Color Meaning and Usage

#AB7BEA is a striking purple color with RGB values of 171, 123, 234 and HSL of 266°, 73%, 70%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB7BEA is #BAEA7B, creating high-contrast pairings. For softer combinations, try analogous colors like #7B82EA.

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

Contrast with #AB7BEA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB7BEA?

#AB7BEA is a striking purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AB7BEA?

#AB7BEA in RGB is (171, 123, 234) - 171 red, 123 green, and 234 blue.

How to use #AB7BEA in CSS?

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

What colors go well with #AB7BEA?

#BAEA7B (complementary), #7B82EA (analogous), and #8138E0 (lighter shade) work well with #AB7BEA.