#AB2EFF Color Information

Hex color code: #AB2EFF

#AB2EFF is a bold purple color. In RGB it is (171, 46, 255), and in HSL it is (276°, 100%, 59%). It is frequently seen in web interfaces.

Try:
Color NameBlue Violet
HEX
#AB2EFF
RGB
171, 46, 255
HSL
276°, 100%, 59%
CMYK
33%, 82%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AB2EFF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AB2EFF; color: #FFFFFF; }

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 #AB2EFF; background-color: #AB2EFF15; }

Alert / Toast

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

Link / Accent

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

a { color: #AB2EFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 46, 255

Red: 171 / Green: 46 / Blue: 255

HSL

276°, 100%, 59%

Hue: 276° / Saturation: 100% / Lightness: 59%

CMYK

33%, 82%, 0%, 0%

Cyan: 33% / Magenta: 82% / Yellow: 0% / Key: 0%

What color is #AB2EFF?

#AB2EFF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB2EFF to RGB:

rgb(171, 46, 255)HEX to RGB Converter →

HEX to HSL

Convert #AB2EFF to HSL:

hsl(276, 100%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #AB2EFF to CMYK:

cmyk(33%, 82%, 0%, 0%)Color Converter →

Color Meaning and Usage

#AB2EFF is a eye-catching purple color with RGB values of 171, 46, 255 and HSL of 276°, 100%, 59%. This highly saturated hue evokes energy and excitement, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB2EFF is #82FF2E, creating high-contrast pairings. For softer combinations, try analogous colors like #432EFF.

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

Contrast with #AB2EFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB2EFF?

#AB2EFF is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AB2EFF?

#AB2EFF in RGB is (171, 46, 255) - 171 red, 46 green, and 255 blue.

How to use #AB2EFF in CSS?

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

What colors go well with #AB2EFF?

#82FF2E (complementary), #432EFF (analogous), and #8700E0 (lighter shade) work well with #AB2EFF.