#A873DE Color Information

Hex color code: #A873DE

#A873DE is a understated purple color. In RGB it is (168, 115, 222), and in HSL it is (270°, 62%, 66%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#A873DE
RGB
168, 115, 222
HSL
270°, 62%, 66%
CMYK
24%, 48%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A873DE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 115, 222

Red: 168 / Green: 115 / Blue: 222

HSL

270°, 62%, 66%

Hue: 270° / Saturation: 62% / Lightness: 66%

CMYK

24%, 48%, 0%, 13%

Cyan: 24% / Magenta: 48% / Yellow: 0% / Key: 13%

What color is #A873DE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A873DE to RGB:

rgb(168, 115, 222)HEX to RGB Converter →

HEX to HSL

Convert #A873DE to HSL:

hsl(270, 62%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #A873DE to CMYK:

cmyk(24%, 48%, 0%, 13%)Color Converter →

Color Meaning and Usage

#A873DE is a understated purple color with RGB values of 168, 115, 222 and HSL of 270°, 62%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A873DE is #A8DE73, creating high-contrast pairings. For softer combinations, try analogous colors like #7373DE.

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

Contrast with #A873DE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A873DE?

#A873DE is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A873DE?

#A873DE in RGB is (168, 115, 222) - 168 red, 115 green, and 222 blue.

How to use #A873DE in CSS?

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

What colors go well with #A873DE?

#A8DE73 (complementary), #7373DE (analogous), and #8235D0 (lighter shade) work well with #A873DE.