#AC87E4 Color Information

Hex color code: #AC87E4

The hex color #AC87E4 is a serene purple with RGB values of (172, 135, 228) and HSL of (264°, 63%, 71%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AC87E4
RGB
172, 135, 228
HSL
264°, 63%, 71%
CMYK
25%, 41%, 0%, 11%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC87E4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 135, 228

Red: 172 / Green: 135 / Blue: 228

HSL

264°, 63%, 71%

Hue: 264° / Saturation: 63% / Lightness: 71%

CMYK

25%, 41%, 0%, 11%

Cyan: 25% / Magenta: 41% / Yellow: 0% / Key: 11%

What color is #AC87E4?

#AC87E4 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC87E4 to RGB:

rgb(172, 135, 228)HEX to RGB Converter →

HEX to HSL

Convert #AC87E4 to HSL:

hsl(264, 63%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #AC87E4 to CMYK:

cmyk(25%, 41%, 0%, 11%)Color Converter →

Color Meaning and Usage

#AC87E4 is a cool purple color with RGB values of 172, 135, 228 and HSL of 264°, 63%, 71%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC87E4 is #BEE486, creating high-contrast pairings. For softer combinations, try analogous colors like #8690E4.

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

Contrast with #AC87E4

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

Contrast Ratio: 7.34:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC87E4?

#AC87E4 is a cool purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AC87E4?

#AC87E4 in RGB is (172, 135, 228) - 172 red, 135 green, and 228 blue.

How to use #AC87E4 in CSS?

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

What colors go well with #AC87E4?

#BEE486 (complementary), #8690E4 (analogous), and #8148D5 (lighter shade) work well with #AC87E4.