#A666DB Color Information

Hex color code: #A666DB

#A666DB is a subtle purple color. In RGB it is (166, 102, 219), and in HSL it is (273°, 62%, 63%). It is often used for branding and logos.

Try:
Color NameMedium Purple
HEX
#A666DB
RGB
166, 102, 219
HSL
273°, 62%, 63%
CMYK
24%, 53%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A666DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

166, 102, 219

Red: 166 / Green: 102 / Blue: 219

HSL

273°, 62%, 63%

Hue: 273° / Saturation: 62% / Lightness: 63%

CMYK

24%, 53%, 0%, 14%

Cyan: 24% / Magenta: 53% / Yellow: 0% / Key: 14%

What color is #A666DB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A666DB to RGB:

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

HEX to HSL

Convert #A666DB to HSL:

hsl(273, 62%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #A666DB to CMYK:

cmyk(24%, 53%, 0%, 14%)Color Converter →

Color Meaning and Usage

A muted purple tone, #A666DB has RGB (166, 102, 219) and HSL (273°, 62%, 63%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A666DB is #9BDB66, creating high-contrast pairings. For softer combinations, try analogous colors like #6C66DB.

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

Contrast with #A666DB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A666DB?

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

What is the RGB value of #A666DB?

#A666DB in RGB is (166, 102, 219) - 166 red, 102 green, and 219 blue.

How to use #A666DB in CSS?

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

What colors go well with #A666DB?

#9BDB66 (complementary), #6C66DB (analogous), and #822FC6 (lighter shade) work well with #A666DB.