#9742D7 Color Information

Hex color code: #9742D7

A muted purple shade, #9742D7 appears as (151, 66, 215) in RGB and (274°, 65%, 55%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Orchid
HEX
#9742D7
RGB
151, 66, 215
HSL
274°, 65%, 55%
CMYK
30%, 69%, 0%, 16%

Shades

CSS Usage
color: #9742D7;
background-color: #9742D7;
border-color: #9742D7;
box-shadow: 0 0 10px #9742D7;
border: 2px solid #9742D7;
Tailwind Usage
bg-[#9742D7]
text-[#9742D7]
border-[#9742D7]
shadow-[0_0_10px_9742D7]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9742D7, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9742D7; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #9742D7; 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 #9742D7; background-color: #9742D715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9742D720; border-left: 4px solid #9742D7; }

Link / Accent

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

a { color: #9742D7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9742D7 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 66, 215

Red: 151 / Green: 66 / Blue: 215

HSL

274°, 65%, 55%

Hue: 274° / Saturation: 65% / Lightness: 55%

CMYK

30%, 69%, 0%, 16%

Cyan: 30% / Magenta: 69% / Yellow: 0% / Key: 16%

What color is #9742D7?

#9742D7 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9742D7 to RGB:

rgb(151, 66, 215)HEX to RGB Converter →

HEX to HSL

Convert #9742D7 to HSL:

hsl(274, 65%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #9742D7 to CMYK:

cmyk(30%, 69%, 0%, 16%)Color Converter →

Color Meaning and Usage

A muted purple tone, #9742D7 has RGB (151, 66, 215) and HSL (274°, 65%, 55%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9742D7 is #82D742, creating high-contrast pairings. For softer combinations, try analogous colors like #4C42D7.

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

Contrast with #9742D7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9742D7?

#9742D7 is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9742D7?

#9742D7 in RGB is (151, 66, 215) - 151 red, 66 green, and 215 blue.

How to use #9742D7 in CSS?

Use #9742D7 directly in your CSS properties like color or background-color.

What colors go well with #9742D7?

#82D742 (complementary), #4C42D7 (analogous), and #6F24A8 (lighter shade) work well with #9742D7.