#8E7798 Color Information

Hex color code: #8E7798

The hex color #8E7798 is a understated purple with RGB values of (142, 119, 152) and HSL of (282°, 14%, 53%). It is widely used in graphic design.

Try:
Color NameLight Slate Gray
HEX
#8E7798
RGB
142, 119, 152
HSL
282°, 14%, 53%
CMYK
7%, 22%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8E7798; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

142, 119, 152

Red: 142 / Green: 119 / Blue: 152

HSL

282°, 14%, 53%

Hue: 282° / Saturation: 14% / Lightness: 53%

CMYK

7%, 22%, 0%, 40%

Cyan: 7% / Magenta: 22% / Yellow: 0% / Key: 40%

What color is #8E7798?

#8E7798 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8E7798 to RGB:

rgb(142, 119, 152)HEX to RGB Converter →

HEX to HSL

Convert #8E7798 to HSL:

hsl(282, 14%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #8E7798 to CMYK:

cmyk(7%, 22%, 0%, 40%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #8E7798 has RGB (142, 119, 152) and HSL (282°, 14%, 53%). Known for evoking balance and subtlety, this desaturated neutral is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8E7798 is #809876, creating high-contrast pairings. For softer combinations, try analogous colors like #7D7698.

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

Contrast with #8E7798

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8E7798?

#8E7798 is a balanced purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #8E7798?

#8E7798 in RGB is (142, 119, 152) - 142 red, 119 green, and 152 blue.

How to use #8E7798 in CSS?

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

What colors go well with #8E7798?

#809876 (complementary), #7D7698 (analogous), and #66536E (lighter shade) work well with #8E7798.