#9874AF Color Information

Hex color code: #9874AF

The hex color #9874AF is a gentle purple with RGB values of (152, 116, 175) and HSL of (277°, 27%, 57%). It is frequently seen in web interfaces.

Try:
Color NameLight Slate Gray
HEX
#9874AF
RGB
152, 116, 175
HSL
277°, 27%, 57%
CMYK
13%, 34%, 0%, 31%

Shades

CSS Usage
color: #9874AF;
background-color: #9874AF;
border-color: #9874AF;
box-shadow: 0 0 10px #9874AF;
border: 2px solid #9874AF;
Tailwind Usage
bg-[#9874AF]
text-[#9874AF]
border-[#9874AF]
shadow-[0_0_10px_9874AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9874AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9874AF; color: #000000; }

Badge

New Feature
.badge { background-color: #9874AF; 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 #9874AF; background-color: #9874AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9874AF20; border-left: 4px solid #9874AF; }

Link / Accent

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

a { color: #9874AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9874AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 116, 175

Red: 152 / Green: 116 / Blue: 175

HSL

277°, 27%, 57%

Hue: 277° / Saturation: 27% / Lightness: 57%

CMYK

13%, 34%, 0%, 31%

Cyan: 13% / Magenta: 34% / Yellow: 0% / Key: 31%

What color is #9874AF?

#9874AF is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9874AF to RGB:

rgb(152, 116, 175)HEX to RGB Converter →

HEX to HSL

Convert #9874AF to HSL:

hsl(277, 27%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #9874AF to CMYK:

cmyk(13%, 34%, 0%, 31%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #9874AF has RGB (152, 116, 175) and HSL (277°, 27%, 57%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9874AF is #8AAF74, creating high-contrast pairings. For softer combinations, try analogous colors like #7B74AF.

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

Contrast with #9874AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9874AF?

#9874AF is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9874AF?

#9874AF in RGB is (152, 116, 175) - 152 red, 116 green, and 175 blue.

How to use #9874AF in CSS?

Use #9874AF directly in your CSS properties like color or background-color.

What colors go well with #9874AF?

#8AAF74 (complementary), #7B74AF (analogous), and #724E88 (lighter shade) work well with #9874AF.