#AC7EC5 Color Information

Hex color code: #AC7EC5

#AC7EC5 is a pastel purple color. In RGB it is (172, 126, 197), and in HSL it is (279°, 38%, 63%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#AC7EC5
RGB
172, 126, 197
HSL
279°, 38%, 63%
CMYK
13%, 36%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC7EC5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 126, 197

Red: 172 / Green: 126 / Blue: 197

HSL

279°, 38%, 63%

Hue: 279° / Saturation: 38% / Lightness: 63%

CMYK

13%, 36%, 0%, 23%

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

What color is #AC7EC5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC7EC5 to RGB:

rgb(172, 126, 197)HEX to RGB Converter →

HEX to HSL

Convert #AC7EC5 to HSL:

hsl(279, 38%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #AC7EC5 to CMYK:

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

Color Meaning and Usage

#AC7EC5 is a pastel purple color with RGB values of 172, 126, 197 and HSL of 279°, 38%, 63%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC7EC5 is #96C57D, creating high-contrast pairings. For softer combinations, try analogous colors like #887DC5.

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

Contrast with #AC7EC5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC7EC5?

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

What is the RGB value of #AC7EC5?

#AC7EC5 in RGB is (172, 126, 197) - 172 red, 126 green, and 197 blue.

How to use #AC7EC5 in CSS?

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

What colors go well with #AC7EC5?

#96C57D (complementary), #887DC5 (analogous), and #884CA9 (lighter shade) work well with #AC7EC5.