#8E2BDE Color Information

Hex color code: #8E2BDE

A striking purple shade, #8E2BDE appears as (142, 43, 222) in RGB and (273°, 73%, 52%) in HSL. It is popular in mobile app design.

Try:
Color NameBlue Violet
HEX
#8E2BDE
RGB
142, 43, 222
HSL
273°, 73%, 52%
CMYK
36%, 81%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #8E2BDE; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #8E2BDE; 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 #8E2BDE; background-color: #8E2BDE15; }

Alert / Toast

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

Link / Accent

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

a { color: #8E2BDE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8E2BDE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

142, 43, 222

Red: 142 / Green: 43 / Blue: 222

HSL

273°, 73%, 52%

Hue: 273° / Saturation: 73% / Lightness: 52%

CMYK

36%, 81%, 0%, 13%

Cyan: 36% / Magenta: 81% / Yellow: 0% / Key: 13%

What color is #8E2BDE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8E2BDE to RGB:

rgb(142, 43, 222)HEX to RGB Converter →

HEX to HSL

Convert #8E2BDE to HSL:

hsl(273, 73%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #8E2BDE to CMYK:

cmyk(36%, 81%, 0%, 13%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #8E2BDE has RGB (142, 43, 222) and HSL (273°, 73%, 52%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8E2BDE is #7CDE2B, creating high-contrast pairings. For softer combinations, try analogous colors like #342BDE.

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

Contrast with #8E2BDE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8E2BDE?

#8E2BDE is a dynamic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8E2BDE?

#8E2BDE in RGB is (142, 43, 222) - 142 red, 43 green, and 222 blue.

How to use #8E2BDE in CSS?

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

What colors go well with #8E2BDE?

#7CDE2B (complementary), #342BDE (analogous), and #6519A3 (lighter shade) work well with #8E2BDE.