#AC87E8 Color Information

Hex color code: #AC87E8

A serene purple shade, #AC87E8 appears as (172, 135, 232) in RGB and (263°, 68%, 72%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#AC87E8
RGB
172, 135, 232
HSL
263°, 68%, 72%
CMYK
26%, 42%, 0%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AC87E8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 135, 232

Red: 172 / Green: 135 / Blue: 232

HSL

263°, 68%, 72%

Hue: 263° / Saturation: 68% / Lightness: 72%

CMYK

26%, 42%, 0%, 9%

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

What color is #AC87E8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC87E8 to RGB:

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

HEX to HSL

Convert #AC87E8 to HSL:

hsl(263, 68%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #AC87E8 to CMYK:

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

Color Meaning and Usage

A tranquil purple tone, #AC87E8 has RGB (172, 135, 232) and HSL (263°, 68%, 72%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC87E8 is #C3E887, creating high-contrast pairings. For softer combinations, try analogous colors like #8792E8.

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

Contrast with #AC87E8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC87E8?

#AC87E8 is a tranquil purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #AC87E8?

#AC87E8 in RGB is (172, 135, 232) - 172 red, 135 green, and 232 blue.

How to use #AC87E8 in CSS?

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

What colors go well with #AC87E8?

#C3E887 (complementary), #8792E8 (analogous), and #8047DC (lighter shade) work well with #AC87E8.