#8A799A Color Information

Hex color code: #8A799A

The hex color #8A799A is a muted purple with RGB values of (138, 121, 154) and HSL of (271°, 14%, 54%). It is typically applied in digital products.

Try:
Color NameLight Slate Gray
HEX
#8A799A
RGB
138, 121, 154
HSL
271°, 14%, 54%
CMYK
10%, 21%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8A799A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

138, 121, 154

Red: 138 / Green: 121 / Blue: 154

HSL

271°, 14%, 54%

Hue: 271° / Saturation: 14% / Lightness: 54%

CMYK

10%, 21%, 0%, 40%

Cyan: 10% / Magenta: 21% / Yellow: 0% / Key: 40%

What color is #8A799A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8A799A to RGB:

rgb(138, 121, 154)HEX to RGB Converter →

HEX to HSL

Convert #8A799A to HSL:

hsl(271, 14%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #8A799A to CMYK:

cmyk(10%, 21%, 0%, 40%)Color Converter →

Color Meaning and Usage

A neutral purple tone, #8A799A has RGB (138, 121, 154) and HSL (271°, 14%, 54%). Known for evoking balance and subtlety, this desaturated neutral is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8A799A is #899A79, creating high-contrast pairings. For softer combinations, try analogous colors like #7A799A.

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

Contrast with #8A799A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8A799A?

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

What is the RGB value of #8A799A?

#8A799A in RGB is (138, 121, 154) - 138 red, 121 green, and 154 blue.

How to use #8A799A in CSS?

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

What colors go well with #8A799A?

#899A79 (complementary), #7A799A (analogous), and #645671 (lighter shade) work well with #8A799A.