#A866EB Color Information

Hex color code: #A866EB

The hex color #A866EB is a vivid purple with RGB values of (168, 102, 235) and HSL of (270°, 77%, 66%). It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#A866EB
RGB
168, 102, 235
HSL
270°, 77%, 66%
CMYK
29%, 57%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A866EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 102, 235

Red: 168 / Green: 102 / Blue: 235

HSL

270°, 77%, 66%

Hue: 270° / Saturation: 77% / Lightness: 66%

CMYK

29%, 57%, 0%, 8%

Cyan: 29% / Magenta: 57% / Yellow: 0% / Key: 8%

What color is #A866EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A866EB to RGB:

rgb(168, 102, 235)HEX to RGB Converter →

HEX to HSL

Convert #A866EB to HSL:

hsl(270, 77%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #A866EB to CMYK:

cmyk(29%, 57%, 0%, 8%)Color Converter →

Color Meaning and Usage

#A866EB is a vivid purple color with RGB values of 168, 102, 235 and HSL of 270°, 77%, 66%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A866EB is #A8EB66, creating high-contrast pairings. For softer combinations, try analogous colors like #6666EB.

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

Contrast with #A866EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A866EB?

#A866EB is a vivid purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A866EB?

#A866EB in RGB is (168, 102, 235) - 168 red, 102 green, and 235 blue.

How to use #A866EB in CSS?

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

What colors go well with #A866EB?

#A8EB66 (complementary), #6666EB (analogous), and #8222E2 (lighter shade) work well with #A866EB.