#AB2FCE Color Information

Hex color code: #AB2FCE

The hex color #AB2FCE is a neutral magenta with RGB values of (171, 47, 206) and HSL of (287°, 63%, 50%). It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#AB2FCE
RGB
171, 47, 206
HSL
287°, 63%, 50%
CMYK
17%, 77%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB2FCE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 47, 206

Red: 171 / Green: 47 / Blue: 206

HSL

287°, 63%, 50%

Hue: 287° / Saturation: 63% / Lightness: 50%

CMYK

17%, 77%, 0%, 19%

Cyan: 17% / Magenta: 77% / Yellow: 0% / Key: 19%

What color is #AB2FCE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB2FCE to RGB:

rgb(171, 47, 206)HEX to RGB Converter →

HEX to HSL

Convert #AB2FCE to HSL:

hsl(287, 63%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #AB2FCE to CMYK:

cmyk(17%, 77%, 0%, 19%)Color Converter →

Color Meaning and Usage

#AB2FCE is a subtle magenta color with RGB values of 171, 47, 206 and HSL of 287°, 63%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB2FCE is #52D02F, creating high-contrast pairings. For softer combinations, try analogous colors like #5D2FD0.

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

Contrast with #AB2FCE

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

Contrast Ratio: 4.03:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB2FCE?

#AB2FCE is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB2FCE?

#AB2FCE in RGB is (171, 47, 206) - 171 red, 47 green, and 206 blue.

How to use #AB2FCE in CSS?

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

What colors go well with #AB2FCE?

#52D02F (complementary), #5D2FD0 (analogous), and #792191 (lighter shade) work well with #AB2FCE.