#8C5B9F Color Information

Hex color code: #8C5B9F

The hex color #8C5B9F is a pastel purple with RGB values of (140, 91, 159) and HSL of (283°, 27%, 49%). It is commonly used in modern UI design.

Try:
Color NameSlate Gray
HEX
#8C5B9F
RGB
140, 91, 159
HSL
283°, 27%, 49%
CMYK
12%, 43%, 0%, 38%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8C5B9F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 91, 159

Red: 140 / Green: 91 / Blue: 159

HSL

283°, 27%, 49%

Hue: 283° / Saturation: 27% / Lightness: 49%

CMYK

12%, 43%, 0%, 38%

Cyan: 12% / Magenta: 43% / Yellow: 0% / Key: 38%

What color is #8C5B9F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C5B9F to RGB:

rgb(140, 91, 159)HEX to RGB Converter →

HEX to HSL

Convert #8C5B9F to HSL:

hsl(283, 27%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #8C5B9F to CMYK:

cmyk(12%, 43%, 0%, 38%)Color Converter →

Color Meaning and Usage

A pastel purple tone, #8C5B9F has RGB (140, 91, 159) and HSL (283°, 27%, 49%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C5B9F is #6E9F5B, creating high-contrast pairings. For softer combinations, try analogous colors like #6A5B9F.

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

Contrast with #8C5B9F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C5B9F?

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

What is the RGB value of #8C5B9F?

#8C5B9F in RGB is (140, 91, 159) - 140 red, 91 green, and 159 blue.

How to use #8C5B9F in CSS?

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

What colors go well with #8C5B9F?

#6E9F5B (complementary), #6A5B9F (analogous), and #613F6E (lighter shade) work well with #8C5B9F.