#9D1BDA Color Information

Hex color code: #9D1BDA

#9D1BDA is a eye-catching purple color. In RGB it is (157, 27, 218), and in HSL it is (281°, 78%, 48%). It is widely used in graphic design.

Try:
Color NameBlue Violet
HEX
#9D1BDA
RGB
157, 27, 218
HSL
281°, 78%, 48%
CMYK
28%, 88%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9D1BDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 27, 218

Red: 157 / Green: 27 / Blue: 218

HSL

281°, 78%, 48%

Hue: 281° / Saturation: 78% / Lightness: 48%

CMYK

28%, 88%, 0%, 15%

Cyan: 28% / Magenta: 88% / Yellow: 0% / Key: 15%

What color is #9D1BDA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D1BDA to RGB:

rgb(157, 27, 218)HEX to RGB Converter →

HEX to HSL

Convert #9D1BDA to HSL:

hsl(281, 78%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #9D1BDA to CMYK:

cmyk(28%, 88%, 0%, 15%)Color Converter →

Color Meaning and Usage

#9D1BDA is a vivid purple color with RGB values of 157, 27, 218 and HSL of 281°, 78%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9D1BDA is #57DA1B, creating high-contrast pairings. For softer combinations, try analogous colors like #3E1BDA.

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

Contrast with #9D1BDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D1BDA?

#9D1BDA is a vivid purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9D1BDA?

#9D1BDA in RGB is (157, 27, 218) - 157 red, 27 green, and 218 blue.

How to use #9D1BDA in CSS?

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

What colors go well with #9D1BDA?

#57DA1B (complementary), #3E1BDA (analogous), and #6C1396 (lighter shade) work well with #9D1BDA.