#AC22EC Color Information

Hex color code: #AC22EC

A dynamic purple shade, #AC22EC appears as (172, 34, 236) in RGB and (281°, 84%, 53%) in HSL. It is widely used in graphic design.

Try:
Color NameBlue Violet
HEX
#AC22EC
RGB
172, 34, 236
HSL
281°, 84%, 53%
CMYK
27%, 86%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #AC22EC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #AC22EC; color: #FFFFFF; }

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 #AC22EC; background-color: #AC22EC15; }

Alert / Toast

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

Link / Accent

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

a { color: #AC22EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

172, 34, 236

Red: 172 / Green: 34 / Blue: 236

HSL

281°, 84%, 53%

Hue: 281° / Saturation: 84% / Lightness: 53%

CMYK

27%, 86%, 0%, 7%

Cyan: 27% / Magenta: 86% / Yellow: 0% / Key: 7%

What color is #AC22EC?

#AC22EC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AC22EC to RGB:

rgb(172, 34, 236)HEX to RGB Converter →

HEX to HSL

Convert #AC22EC to HSL:

hsl(281, 84%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #AC22EC to CMYK:

cmyk(27%, 86%, 0%, 7%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #AC22EC has RGB (172, 34, 236) and HSL (281°, 84%, 53%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AC22EC is #62EC22, creating high-contrast pairings. For softer combinations, try analogous colors like #4722EC.

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

Contrast with #AC22EC

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

Contrast Ratio: 4.19:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AC22EC?

#AC22EC is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AC22EC?

#AC22EC in RGB is (172, 34, 236) - 172 red, 34 green, and 236 blue.

How to use #AC22EC in CSS?

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

What colors go well with #AC22EC?

#62EC22 (complementary), #4722EC (analogous), and #7F10B2 (lighter shade) work well with #AC22EC.