#A218C9 Color Information

Hex color code: #A218C9

The hex color #A218C9 is a bold magenta with RGB values of (162, 24, 201) and HSL of (287°, 79%, 44%). It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#A218C9
RGB
162, 24, 201
HSL
287°, 79%, 44%
CMYK
19%, 88%, 0%, 21%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A218C9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 24, 201

Red: 162 / Green: 24 / Blue: 201

HSL

287°, 79%, 44%

Hue: 287° / Saturation: 79% / Lightness: 44%

CMYK

19%, 88%, 0%, 21%

Cyan: 19% / Magenta: 88% / Yellow: 0% / Key: 21%

What color is #A218C9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A218C9 to RGB:

rgb(162, 24, 201)HEX to RGB Converter →

HEX to HSL

Convert #A218C9 to HSL:

hsl(287, 79%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #A218C9 to CMYK:

cmyk(19%, 88%, 0%, 21%)Color Converter →

Color Meaning and Usage

#A218C9 is a striking magenta color with RGB values of 162, 24, 201 and HSL of 287°, 79%, 44%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A218C9 is #3EC918, creating high-contrast pairings. For softer combinations, try analogous colors like #4A18C9.

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

Contrast with #A218C9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A218C9?

#A218C9 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A218C9?

#A218C9 in RGB is (162, 24, 201) - 162 red, 24 green, and 201 blue.

How to use #A218C9 in CSS?

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

What colors go well with #A218C9?

#3EC918 (complementary), #4A18C9 (analogous), and #6B1084 (lighter shade) work well with #A218C9.