#A166CE Color Information

Hex color code: #A166CE

#A166CE is a balanced purple color. In RGB it is (161, 102, 206), and in HSL it is (274°, 51%, 60%). It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#A166CE
RGB
161, 102, 206
HSL
274°, 51%, 60%
CMYK
22%, 50%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A166CE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

161, 102, 206

Red: 161 / Green: 102 / Blue: 206

HSL

274°, 51%, 60%

Hue: 274° / Saturation: 51% / Lightness: 60%

CMYK

22%, 50%, 0%, 19%

Cyan: 22% / Magenta: 50% / Yellow: 0% / Key: 19%

What color is #A166CE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A166CE to RGB:

rgb(161, 102, 206)HEX to RGB Converter →

HEX to HSL

Convert #A166CE to HSL:

hsl(274, 51%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #A166CE to CMYK:

cmyk(22%, 50%, 0%, 19%)Color Converter →

Color Meaning and Usage

#A166CE is a subtle purple color with RGB values of 161, 102, 206 and HSL of 274°, 51%, 60%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A166CE is #92CD65, creating high-contrast pairings. For softer combinations, try analogous colors like #6C65CD.

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

Contrast with #A166CE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A166CE?

#A166CE is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A166CE?

#A166CE in RGB is (161, 102, 206) - 161 red, 102 green, and 206 blue.

How to use #A166CE in CSS?

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

What colors go well with #A166CE?

#92CD65 (complementary), #6C65CD (analogous), and #7B38AD (lighter shade) work well with #A166CE.