#A786EA Color Information

Hex color code: #A786EA

A cool purple shade, #A786EA appears as (167, 134, 234) in RGB and (260°, 70%, 72%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Purple
HEX
#A786EA
RGB
167, 134, 234
HSL
260°, 70%, 72%
CMYK
29%, 43%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A786EA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 134, 234

Red: 167 / Green: 134 / Blue: 234

HSL

260°, 70%, 72%

Hue: 260° / Saturation: 70% / Lightness: 72%

CMYK

29%, 43%, 0%, 8%

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

What color is #A786EA?

#A786EA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A786EA to RGB:

rgb(167, 134, 234)HEX to RGB Converter →

HEX to HSL

Convert #A786EA to HSL:

hsl(260, 70%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #A786EA to CMYK:

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

Color Meaning and Usage

#A786EA is a peaceful purple color with RGB values of 167, 134, 234 and HSL of 260°, 70%, 72%. This blue-purple hue evokes creativity and luxury, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A786EA is #C8EA86, creating high-contrast pairings. For softer combinations, try analogous colors like #8696EA.

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

Contrast with #A786EA

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

Contrast Ratio: 7.24:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A786EA?

#A786EA is a peaceful purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #A786EA?

#A786EA in RGB is (167, 134, 234) - 167 red, 134 green, and 234 blue.

How to use #A786EA in CSS?

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

What colors go well with #A786EA?

#C8EA86 (complementary), #8696EA (analogous), and #7845DE (lighter shade) work well with #A786EA.