#A666DF Color Information

Hex color code: #A666DF

A neutral purple shade, #A666DF appears as (166, 102, 223) in RGB and (272°, 65%, 64%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#A666DF
RGB
166, 102, 223
HSL
272°, 65%, 64%
CMYK
26%, 54%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A666DF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

166, 102, 223

Red: 166 / Green: 102 / Blue: 223

HSL

272°, 65%, 64%

Hue: 272° / Saturation: 65% / Lightness: 64%

CMYK

26%, 54%, 0%, 13%

Cyan: 26% / Magenta: 54% / Yellow: 0% / Key: 13%

What color is #A666DF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A666DF to RGB:

rgb(166, 102, 223)HEX to RGB Converter →

HEX to HSL

Convert #A666DF to HSL:

hsl(272, 65%, 64%)RGB to HSL Converter →

HEX to CMYK

Convert #A666DF to CMYK:

cmyk(26%, 54%, 0%, 13%)Color Converter →

Color Meaning and Usage

#A666DF is a muted purple color with RGB values of 166, 102, 223 and HSL of 272°, 65%, 64%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A666DF is #9FDF68, creating high-contrast pairings. For softer combinations, try analogous colors like #6C68DF.

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

Contrast with #A666DF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A666DF?

#A666DF is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A666DF?

#A666DF in RGB is (166, 102, 223) - 166 red, 102 green, and 223 blue.

How to use #A666DF in CSS?

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

What colors go well with #A666DF?

#9FDF68 (complementary), #6C68DF (analogous), and #822CCE (lighter shade) work well with #A666DF.