#A640AA Color Information

Hex color code: #A640AA

A subtle magenta shade, #A640AA appears as (166, 64, 170) in RGB and (298°, 45%, 46%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#A640AA
RGB
166, 64, 170
HSL
298°, 45%, 46%
CMYK
2%, 62%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A640AA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

166, 64, 170

Red: 166 / Green: 64 / Blue: 170

HSL

298°, 45%, 46%

Hue: 298° / Saturation: 45% / Lightness: 46%

CMYK

2%, 62%, 0%, 33%

Cyan: 2% / Magenta: 62% / Yellow: 0% / Key: 33%

What color is #A640AA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A640AA to RGB:

rgb(166, 64, 170)HEX to RGB Converter →

HEX to HSL

Convert #A640AA to HSL:

hsl(298, 45%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #A640AA to CMYK:

cmyk(2%, 62%, 0%, 33%)Color Converter →

Color Meaning and Usage

#A640AA is a gentle magenta color with RGB values of 166, 64, 170 and HSL of 298°, 45%, 46%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A640AA is #44AA41, creating high-contrast pairings. For softer combinations, try analogous colors like #7241AA.

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

Contrast with #A640AA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A640AA?

#A640AA is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A640AA?

#A640AA in RGB is (166, 64, 170) - 166 red, 64 green, and 170 blue.

How to use #A640AA in CSS?

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

What colors go well with #A640AA?

#44AA41 (complementary), #7241AA (analogous), and #702B73 (lighter shade) work well with #A640AA.