#AA42EB Color Information

Hex color code: #AA42EB

A dynamic purple shade, #AA42EB appears as (170, 66, 235) in RGB and (277°, 81%, 59%) in HSL. It is typically applied in digital products.

Try:
Color NameMedium Orchid
HEX
#AA42EB
RGB
170, 66, 235
HSL
277°, 81%, 59%
CMYK
28%, 72%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AA42EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

170, 66, 235

Red: 170 / Green: 66 / Blue: 235

HSL

277°, 81%, 59%

Hue: 277° / Saturation: 81% / Lightness: 59%

CMYK

28%, 72%, 0%, 8%

Cyan: 28% / Magenta: 72% / Yellow: 0% / Key: 8%

What color is #AA42EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AA42EB to RGB:

rgb(170, 66, 235)HEX to RGB Converter →

HEX to HSL

Convert #AA42EB to HSL:

hsl(277, 81%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #AA42EB to CMYK:

cmyk(28%, 72%, 0%, 8%)Color Converter →

Color Meaning and Usage

A bold purple tone, #AA42EB has RGB (170, 66, 235) and HSL (277°, 81%, 59%). 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 #AA42EB is #83EB42, creating high-contrast pairings. For softer combinations, try analogous colors like #5642EB.

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

Contrast with #AA42EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AA42EB?

#AA42EB is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #AA42EB?

#AA42EB in RGB is (170, 66, 235) - 170 red, 66 green, and 235 blue.

How to use #AA42EB in CSS?

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

What colors go well with #AA42EB?

#83EB42 (complementary), #5642EB (analogous), and #8515CB (lighter shade) work well with #AA42EB.