#8C5BA9 Color Information

Hex color code: #8C5BA9

#8C5BA9 is a delicate purple color. In RGB it is (140, 91, 169), and in HSL it is (278°, 31%, 51%). It is widely used in graphic design.

Try:
Color NameSlate Blue
HEX
#8C5BA9
RGB
140, 91, 169
HSL
278°, 31%, 51%
CMYK
17%, 46%, 0%, 34%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8C5BA9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

140, 91, 169

Red: 140 / Green: 91 / Blue: 169

HSL

278°, 31%, 51%

Hue: 278° / Saturation: 31% / Lightness: 51%

CMYK

17%, 46%, 0%, 34%

Cyan: 17% / Magenta: 46% / Yellow: 0% / Key: 34%

What color is #8C5BA9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8C5BA9 to RGB:

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

HEX to HSL

Convert #8C5BA9 to HSL:

hsl(278, 31%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #8C5BA9 to CMYK:

cmyk(17%, 46%, 0%, 34%)Color Converter →

Color Meaning and Usage

#8C5BA9 is a gentle purple color with RGB values of 140, 91, 169 and HSL of 278°, 31%, 51%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8C5BA9 is #78A95B, creating high-contrast pairings. For softer combinations, try analogous colors like #665BA9.

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

Contrast with #8C5BA9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8C5BA9?

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

What is the RGB value of #8C5BA9?

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

How to use #8C5BA9 in CSS?

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

What colors go well with #8C5BA9?

#78A95B (complementary), #665BA9 (analogous), and #633F78 (lighter shade) work well with #8C5BA9.