#9D15C6 Color Information

Hex color code: #9D15C6

#9D15C6 is a striking magenta color. In RGB it is (157, 21, 198), and in HSL it is (286°, 81%, 43%). It is popular in mobile app design.

Try:
Color NameDark Violet
HEX
#9D15C6
RGB
157, 21, 198
HSL
286°, 81%, 43%
CMYK
21%, 89%, 0%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9D15C6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 21, 198

Red: 157 / Green: 21 / Blue: 198

HSL

286°, 81%, 43%

Hue: 286° / Saturation: 81% / Lightness: 43%

CMYK

21%, 89%, 0%, 22%

Cyan: 21% / Magenta: 89% / Yellow: 0% / Key: 22%

What color is #9D15C6?

#9D15C6 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D15C6 to RGB:

rgb(157, 21, 198)HEX to RGB Converter →

HEX to HSL

Convert #9D15C6 to HSL:

hsl(286, 81%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #9D15C6 to CMYK:

cmyk(21%, 89%, 0%, 22%)Color Converter →

Color Meaning and Usage

#9D15C6 is a bold magenta color with RGB values of 157, 21, 198 and HSL of 286°, 81%, 43%. This highly saturated hue evokes energy and excitement, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9D15C6 is #3EC615, creating high-contrast pairings. For softer combinations, try analogous colors like #4415C6.

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

Contrast with #9D15C6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D15C6?

#9D15C6 is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #9D15C6?

#9D15C6 in RGB is (157, 21, 198) - 157 red, 21 green, and 198 blue.

How to use #9D15C6 in CSS?

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

What colors go well with #9D15C6?

#3EC615 (complementary), #4415C6 (analogous), and #660E81 (lighter shade) work well with #9D15C6.