#974FAB Color Information

Hex color code: #974FAB

The hex color #974FAB is a subtle magenta with RGB values of (151, 79, 171) and HSL of (287°, 37%, 49%). It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#974FAB
RGB
151, 79, 171
HSL
287°, 37%, 49%
CMYK
12%, 54%, 0%, 33%

Shades

CSS Usage
color: #974FAB;
background-color: #974FAB;
border-color: #974FAB;
box-shadow: 0 0 10px #974FAB;
border: 2px solid #974FAB;
Tailwind Usage
bg-[#974FAB]
text-[#974FAB]
border-[#974FAB]
shadow-[0_0_10px_974FAB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #974FAB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #974FAB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #974FAB; 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 #974FAB; background-color: #974FAB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #974FAB20; border-left: 4px solid #974FAB; }

Link / Accent

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

a { color: #974FAB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #974FAB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 79, 171

Red: 151 / Green: 79 / Blue: 171

HSL

287°, 37%, 49%

Hue: 287° / Saturation: 37% / Lightness: 49%

CMYK

12%, 54%, 0%, 33%

Cyan: 12% / Magenta: 54% / Yellow: 0% / Key: 33%

What color is #974FAB?

#974FAB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #974FAB to RGB:

rgb(151, 79, 171)HEX to RGB Converter →

HEX to HSL

Convert #974FAB to HSL:

hsl(287, 37%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #974FAB to CMYK:

cmyk(12%, 54%, 0%, 33%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #974FAB has RGB (151, 79, 171) and HSL (287°, 37%, 49%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #974FAB is #63AB4F, creating high-contrast pairings. For softer combinations, try analogous colors like #694FAB.

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

Contrast with #974FAB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #974FAB?

#974FAB is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #974FAB?

#974FAB in RGB is (151, 79, 171) - 151 red, 79 green, and 171 blue.

How to use #974FAB in CSS?

Use #974FAB directly in your CSS properties like color or background-color.

What colors go well with #974FAB?

#63AB4F (complementary), #694FAB (analogous), and #693777 (lighter shade) work well with #974FAB.