#A22FE5 Color Information

Hex color code: #A22FE5

#A22FE5 is a eye-catching purple color. In RGB it is (162, 47, 229), and in HSL it is (278°, 78%, 54%). It is popular in mobile app design.

Try:
Color NameBlue Violet
HEX
#A22FE5
RGB
162, 47, 229
HSL
278°, 78%, 54%
CMYK
29%, 79%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A22FE5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 47, 229

Red: 162 / Green: 47 / Blue: 229

HSL

278°, 78%, 54%

Hue: 278° / Saturation: 78% / Lightness: 54%

CMYK

29%, 79%, 0%, 10%

Cyan: 29% / Magenta: 79% / Yellow: 0% / Key: 10%

What color is #A22FE5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A22FE5 to RGB:

rgb(162, 47, 229)HEX to RGB Converter →

HEX to HSL

Convert #A22FE5 to HSL:

hsl(278, 78%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #A22FE5 to CMYK:

cmyk(29%, 79%, 0%, 10%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #A22FE5 has RGB (162, 47, 229) and HSL (278°, 78%, 54%). Known for evoking romance and playfulness, this magenta-red hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A22FE5 is #71E52E, creating high-contrast pairings. For softer combinations, try analogous colors like #472EE5.

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

Contrast with #A22FE5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A22FE5?

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

What is the RGB value of #A22FE5?

#A22FE5 in RGB is (162, 47, 229) - 162 red, 47 green, and 229 blue.

How to use #A22FE5 in CSS?

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

What colors go well with #A22FE5?

#71E52E (complementary), #472EE5 (analogous), and #7816B1 (lighter shade) work well with #A22FE5.