#9C159E Color Information

Hex color code: #9C159E

#9C159E is a vivid magenta color. In RGB it is (156, 21, 158), and in HSL it is (299°, 77%, 35%). It is commonly used in modern UI design.

Try:
Color NameDark Magenta
HEX
#9C159E
RGB
156, 21, 158
HSL
299°, 77%, 35%
CMYK
1%, 87%, 0%, 38%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9C159E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

156, 21, 158

Red: 156 / Green: 21 / Blue: 158

HSL

299°, 77%, 35%

Hue: 299° / Saturation: 77% / Lightness: 35%

CMYK

1%, 87%, 0%, 38%

Cyan: 1% / Magenta: 87% / Yellow: 0% / Key: 38%

What color is #9C159E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9C159E to RGB:

rgb(156, 21, 158)HEX to RGB Converter →

HEX to HSL

Convert #9C159E to HSL:

hsl(299, 77%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #9C159E to CMYK:

cmyk(1%, 87%, 0%, 38%)Color Converter →

Color Meaning and Usage

#9C159E is a striking magenta color with RGB values of 156, 21, 158 and HSL of 299°, 77%, 35%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9C159E is #179E15, creating high-contrast pairings. For softer combinations, try analogous colors like #57159E.

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

Contrast with #9C159E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9C159E?

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

What is the RGB value of #9C159E?

#9C159E in RGB is (156, 21, 158) - 156 red, 21 green, and 158 blue.

How to use #9C159E in CSS?

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

What colors go well with #9C159E?

#179E15 (complementary), #57159E (analogous), and #590C5A (lighter shade) work well with #9C159E.