#9D1CBA Color Information

Hex color code: #9D1CBA

#9D1CBA is a striking magenta color. In RGB it is (157, 28, 186), and in HSL it is (289°, 74%, 42%). It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#9D1CBA
RGB
157, 28, 186
HSL
289°, 74%, 42%
CMYK
16%, 85%, 0%, 27%

Shades

CSS Usage
color: #9D1CBA;
background-color: #9D1CBA;
border-color: #9D1CBA;
box-shadow: 0 0 10px #9D1CBA;
border: 2px solid #9D1CBA;
Tailwind Usage
bg-[#9D1CBA]
text-[#9D1CBA]
border-[#9D1CBA]
shadow-[0_0_10px_9D1CBA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9D1CBA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9D1CBA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #9D1CBA; 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 #9D1CBA; background-color: #9D1CBA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9D1CBA20; border-left: 4px solid #9D1CBA; }

Link / Accent

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

a { color: #9D1CBA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9D1CBA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 28, 186

Red: 157 / Green: 28 / Blue: 186

HSL

289°, 74%, 42%

Hue: 289° / Saturation: 74% / Lightness: 42%

CMYK

16%, 85%, 0%, 27%

Cyan: 16% / Magenta: 85% / Yellow: 0% / Key: 27%

What color is #9D1CBA?

#9D1CBA is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D1CBA to RGB:

rgb(157, 28, 186)HEX to RGB Converter →

HEX to HSL

Convert #9D1CBA to HSL:

hsl(289, 74%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #9D1CBA to CMYK:

cmyk(16%, 85%, 0%, 27%)Color Converter →

Color Meaning and Usage

#9D1CBA is a striking magenta color with RGB values of 157, 28, 186 and HSL of 289°, 74%, 42%. 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 #9D1CBA is #39BA1C, creating high-contrast pairings. For softer combinations, try analogous colors like #4E1CBA.

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

Contrast with #9D1CBA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D1CBA?

#9D1CBA is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9D1CBA?

#9D1CBA in RGB is (157, 28, 186) - 157 red, 28 green, and 186 blue.

How to use #9D1CBA in CSS?

Use #9D1CBA directly in your CSS properties like color or background-color.

What colors go well with #9D1CBA?

#39BA1C (complementary), #4E1CBA (analogous), and #651278 (lighter shade) work well with #9D1CBA.