#97178C Color Information

Hex color code: #97178C

A vivid magenta shade, #97178C appears as (151, 23, 140) in RGB and (305°, 74%, 34%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Magenta
HEX
#97178C
RGB
151, 23, 140
HSL
305°, 74%, 34%
CMYK
0%, 85%, 7%, 41%

Shades

CSS Usage
color: #97178C;
background-color: #97178C;
border-color: #97178C;
box-shadow: 0 0 10px #97178C;
border: 2px solid #97178C;
Tailwind Usage
bg-[#97178C]
text-[#97178C]
border-[#97178C]
shadow-[0_0_10px_97178C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #97178C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #97178C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #97178C; 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 #97178C; background-color: #97178C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #97178C20; border-left: 4px solid #97178C; }

Link / Accent

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

a { color: #97178C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #97178C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 23, 140

Red: 151 / Green: 23 / Blue: 140

HSL

305°, 74%, 34%

Hue: 305° / Saturation: 74% / Lightness: 34%

CMYK

0%, 85%, 7%, 41%

Cyan: 0% / Magenta: 85% / Yellow: 7% / Key: 41%

What color is #97178C?

#97178C is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #97178C to RGB:

rgb(151, 23, 140)HEX to RGB Converter →

HEX to HSL

Convert #97178C to HSL:

hsl(305, 74%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #97178C to CMYK:

cmyk(0%, 85%, 7%, 41%)Color Converter →

Color Meaning and Usage

#97178C is a striking magenta color with RGB values of 151, 23, 140 and HSL of 305°, 74%, 34%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #97178C is #179721, creating high-contrast pairings. For softer combinations, try analogous colors like #611797.

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

Contrast with #97178C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #97178C?

#97178C is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #97178C?

#97178C in RGB is (151, 23, 140) - 151 red, 23 green, and 140 blue.

How to use #97178C in CSS?

Use #97178C directly in your CSS properties like color or background-color.

What colors go well with #97178C?

#179721 (complementary), #611797 (analogous), and #540D4E (lighter shade) work well with #97178C.