#862AA1 Color Information

Hex color code: #862AA1

#862AA1 is a understated magenta color. In RGB it is (134, 42, 161), and in HSL it is (286°, 59%, 40%). It is popular in mobile app design.

Try:
Color NameRebecca Purple
HEX
#862AA1
RGB
134, 42, 161
HSL
286°, 59%, 40%
CMYK
17%, 74%, 0%, 37%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #862AA1; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #862AA1; color: #FFFFFF; }

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 #862AA1; background-color: #862AA115; }

Alert / Toast

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

Link / Accent

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

a { color: #862AA1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #862AA1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

134, 42, 161

Red: 134 / Green: 42 / Blue: 161

HSL

286°, 59%, 40%

Hue: 286° / Saturation: 59% / Lightness: 40%

CMYK

17%, 74%, 0%, 37%

Cyan: 17% / Magenta: 74% / Yellow: 0% / Key: 37%

What color is #862AA1?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #862AA1 to RGB:

rgb(134, 42, 161)HEX to RGB Converter →

HEX to HSL

Convert #862AA1 to HSL:

hsl(286, 59%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #862AA1 to CMYK:

cmyk(17%, 74%, 0%, 37%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #862AA1 has RGB (134, 42, 161) and HSL (286°, 59%, 40%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #862AA1 is #46A22A, creating high-contrast pairings. For softer combinations, try analogous colors like #4A2AA2.

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

Contrast with #862AA1

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

Contrast Ratio: 2.86:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #862AA1?

#862AA1 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #862AA1?

#862AA1 in RGB is (134, 42, 161) - 134 red, 42 green, and 161 blue.

How to use #862AA1 in CSS?

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

What colors go well with #862AA1?

#46A22A (complementary), #4A2AA2 (analogous), and #541A65 (lighter shade) work well with #862AA1.