#AB2CDD Color Information

Hex color code: #AB2CDD

A eye-catching purple shade, #AB2CDD appears as (171, 44, 221) in RGB and (283°, 72%, 52%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Orchid
HEX
#AB2CDD
RGB
171, 44, 221
HSL
283°, 72%, 52%
CMYK
23%, 80%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB2CDD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 44, 221

Red: 171 / Green: 44 / Blue: 221

HSL

283°, 72%, 52%

Hue: 283° / Saturation: 72% / Lightness: 52%

CMYK

23%, 80%, 0%, 13%

Cyan: 23% / Magenta: 80% / Yellow: 0% / Key: 13%

What color is #AB2CDD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB2CDD to RGB:

rgb(171, 44, 221)HEX to RGB Converter →

HEX to HSL

Convert #AB2CDD to HSL:

hsl(283, 72%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #AB2CDD to CMYK:

cmyk(23%, 80%, 0%, 13%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #AB2CDD has RGB (171, 44, 221) and HSL (283°, 72%, 52%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB2CDD is #5EDD2C, creating high-contrast pairings. For softer combinations, try analogous colors like #532CDD.

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

Contrast with #AB2CDD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB2CDD?

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

What is the RGB value of #AB2CDD?

#AB2CDD in RGB is (171, 44, 221) - 171 red, 44 green, and 221 blue.

How to use #AB2CDD in CSS?

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

What colors go well with #AB2CDD?

#5EDD2C (complementary), #532CDD (analogous), and #7C1AA2 (lighter shade) work well with #AB2CDD.