#A865EC Color Information

Hex color code: #A865EC

A bold purple shade, #A865EC appears as (168, 101, 236) in RGB and (270°, 78%, 66%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Purple
HEX
#A865EC
RGB
168, 101, 236
HSL
270°, 78%, 66%
CMYK
29%, 57%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A865EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 101, 236

Red: 168 / Green: 101 / Blue: 236

HSL

270°, 78%, 66%

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

CMYK

29%, 57%, 0%, 7%

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

What color is #A865EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A865EC to RGB:

rgb(168, 101, 236)HEX to RGB Converter →

HEX to HSL

Convert #A865EC to HSL:

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

HEX to CMYK

Convert #A865EC to CMYK:

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

Color Meaning and Usage

#A865EC is a vivid purple color with RGB values of 168, 101, 236 and HSL of 270°, 78%, 66%. 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 #A865EC is #A8EC65, creating high-contrast pairings. For softer combinations, try analogous colors like #6565EC.

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

Contrast with #A865EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A865EC?

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

What is the RGB value of #A865EC?

#A865EC in RGB is (168, 101, 236) - 168 red, 101 green, and 236 blue.

How to use #A865EC in CSS?

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

What colors go well with #A865EC?

#A8EC65 (complementary), #6565EC (analogous), and #8221E4 (lighter shade) work well with #A865EC.