#8172EE Color Information

Hex color code: #8172EE

#8172EE is a striking blue color. In RGB it is (129, 114, 238), and in HSL it is (247°, 78%, 69%). It is often used for branding and logos.

Try:
Color NameMedium Slate Blue
HEX
#8172EE
RGB
129, 114, 238
HSL
247°, 78%, 69%
CMYK
46%, 52%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #8172EE; 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 #8172EE; background-color: #8172EE15; }

Alert / Toast

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

Link / Accent

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

a { color: #8172EE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8172EE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

129, 114, 238

Red: 129 / Green: 114 / Blue: 238

HSL

247°, 78%, 69%

Hue: 247° / Saturation: 78% / Lightness: 69%

CMYK

46%, 52%, 0%, 7%

Cyan: 46% / Magenta: 52% / Yellow: 0% / Key: 7%

What color is #8172EE?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8172EE to RGB:

rgb(129, 114, 238)HEX to RGB Converter →

HEX to HSL

Convert #8172EE to HSL:

hsl(247, 78%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #8172EE to CMYK:

cmyk(46%, 52%, 0%, 7%)Color Converter →

Color Meaning and Usage

A bold blue tone, #8172EE has RGB (129, 114, 238) and HSL (247°, 78%, 69%). 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 #8172EE is #DFEE72, creating high-contrast pairings. For softer combinations, try analogous colors like #72A2EE.

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

Contrast with #8172EE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8172EE?

#8172EE is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #8172EE?

#8172EE in RGB is (129, 114, 238) - 129 red, 114 green, and 238 blue.

How to use #8172EE in CSS?

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

What colors go well with #8172EE?

#DFEE72 (complementary), #72A2EE (analogous), and #442EE5 (lighter shade) work well with #8172EE.