#AC5FE7 Color Information

Hex color code: #AC5FE7

#AC5FE7 is a eye-catching purple color. In RGB it is (172, 95, 231), and in HSL it is (274°, 74%, 64%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#AC5FE7
RGB
172, 95, 231
HSL
274°, 74%, 64%
CMYK
26%, 59%, 0%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC5FE7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 95, 231

Red: 172 / Green: 95 / Blue: 231

HSL

274°, 74%, 64%

Hue: 274° / Saturation: 74% / Lightness: 64%

CMYK

26%, 59%, 0%, 9%

Cyan: 26% / Magenta: 59% / Yellow: 0% / Key: 9%

What color is #AC5FE7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC5FE7 to RGB:

rgb(172, 95, 231)HEX to RGB Converter →

HEX to HSL

Convert #AC5FE7 to HSL:

hsl(274, 74%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #AC5FE7 to CMYK:

cmyk(26%, 59%, 0%, 9%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #AC5FE7 has RGB (172, 95, 231) and HSL (274°, 74%, 64%). 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 #AC5FE7 is #9AE75F, creating high-contrast pairings. For softer combinations, try analogous colors like #685FE7.

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

Contrast with #AC5FE7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC5FE7?

#AC5FE7 is a dynamic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AC5FE7?

#AC5FE7 in RGB is (172, 95, 231) - 172 red, 95 green, and 231 blue.

How to use #AC5FE7 in CSS?

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

What colors go well with #AC5FE7?

#9AE75F (complementary), #685FE7 (analogous), and #8920D9 (lighter shade) work well with #AC5FE7.