#A217BA Color Information

Hex color code: #A217BA

A bold magenta shade, #A217BA appears as (162, 23, 186) in RGB and (291°, 78%, 41%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#A217BA
RGB
162, 23, 186
HSL
291°, 78%, 41%
CMYK
13%, 88%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A217BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 23, 186

Red: 162 / Green: 23 / Blue: 186

HSL

291°, 78%, 41%

Hue: 291° / Saturation: 78% / Lightness: 41%

CMYK

13%, 88%, 0%, 27%

Cyan: 13% / Magenta: 88% / Yellow: 0% / Key: 27%

What color is #A217BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A217BA to RGB:

rgb(162, 23, 186)HEX to RGB Converter →

HEX to HSL

Convert #A217BA to HSL:

hsl(291, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #A217BA to CMYK:

cmyk(13%, 88%, 0%, 27%)Color Converter →

Color Meaning and Usage

#A217BA is a dynamic magenta color with RGB values of 162, 23, 186 and HSL of 291°, 78%, 41%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A217BA is #2FBA17, creating high-contrast pairings. For softer combinations, try analogous colors like #5017BA.

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

Contrast with #A217BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A217BA?

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

What is the RGB value of #A217BA?

#A217BA in RGB is (162, 23, 186) - 162 red, 23 green, and 186 blue.

How to use #A217BA in CSS?

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

What colors go well with #A217BA?

#2FBA17 (complementary), #5017BA (analogous), and #660F76 (lighter shade) work well with #A217BA.