#AB5FC4 Color Information

Hex color code: #AB5FC4

#AB5FC4 is a delicate magenta color. In RGB it is (171, 95, 196), and in HSL it is (285°, 46%, 57%). It is popular in mobile app design.

Try:
Color NameMedium Orchid
HEX
#AB5FC4
RGB
171, 95, 196
HSL
285°, 46%, 57%
CMYK
13%, 52%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB5FC4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 95, 196

Red: 171 / Green: 95 / Blue: 196

HSL

285°, 46%, 57%

Hue: 285° / Saturation: 46% / Lightness: 57%

CMYK

13%, 52%, 0%, 23%

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

What color is #AB5FC4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB5FC4 to RGB:

rgb(171, 95, 196)HEX to RGB Converter →

HEX to HSL

Convert #AB5FC4 to HSL:

hsl(285, 46%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AB5FC4 to CMYK:

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

Color Meaning and Usage

A pastel magenta tone, #AB5FC4 has RGB (171, 95, 196) and HSL (285°, 46%, 57%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB5FC4 is #78C45F, creating high-contrast pairings. For softer combinations, try analogous colors like #785FC4.

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

Contrast with #AB5FC4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB5FC4?

#AB5FC4 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB5FC4?

#AB5FC4 in RGB is (171, 95, 196) - 171 red, 95 green, and 196 blue.

How to use #AB5FC4 in CSS?

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

What colors go well with #AB5FC4?

#78C45F (complementary), #785FC4 (analogous), and #843A9C (lighter shade) work well with #AB5FC4.