#8157EA Color Information

Hex color code: #8157EA

The hex color #8157EA is a vivid purple with RGB values of (129, 87, 234) and HSL of (257°, 78%, 63%). It is commonly used in modern UI design.

Try:
Color NameMedium Slate Blue
HEX
#8157EA
RGB
129, 87, 234
HSL
257°, 78%, 63%
CMYK
45%, 63%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #8157EA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #8157EA; 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 #8157EA; background-color: #8157EA15; }

Alert / Toast

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

Link / Accent

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

a { color: #8157EA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8157EA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

129, 87, 234

Red: 129 / Green: 87 / Blue: 234

HSL

257°, 78%, 63%

Hue: 257° / Saturation: 78% / Lightness: 63%

CMYK

45%, 63%, 0%, 8%

Cyan: 45% / Magenta: 63% / Yellow: 0% / Key: 8%

What color is #8157EA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8157EA to RGB:

rgb(129, 87, 234)HEX to RGB Converter →

HEX to HSL

Convert #8157EA to HSL:

hsl(257, 78%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #8157EA to CMYK:

cmyk(45%, 63%, 0%, 8%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #8157EA has RGB (129, 87, 234) and HSL (257°, 78%, 63%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8157EA is #C1EA57, creating high-contrast pairings. For softer combinations, try analogous colors like #5777EA.

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

Contrast with #8157EA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8157EA?

#8157EA is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8157EA?

#8157EA in RGB is (129, 87, 234) - 129 red, 87 green, and 234 blue.

How to use #8157EA in CSS?

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

What colors go well with #8157EA?

#C1EA57 (complementary), #5777EA (analogous), and #511BDA (lighter shade) work well with #8157EA.