#9F45BA Color Information

Hex color code: #9F45BA

A gentle magenta shade, #9F45BA appears as (159, 69, 186) in RGB and (286°, 46%, 50%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Orchid
HEX
#9F45BA
RGB
159, 69, 186
HSL
286°, 46%, 50%
CMYK
15%, 63%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9F45BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 69, 186

Red: 159 / Green: 69 / Blue: 186

HSL

286°, 46%, 50%

Hue: 286° / Saturation: 46% / Lightness: 50%

CMYK

15%, 63%, 0%, 27%

Cyan: 15% / Magenta: 63% / Yellow: 0% / Key: 27%

What color is #9F45BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9F45BA to RGB:

rgb(159, 69, 186)HEX to RGB Converter →

HEX to HSL

Convert #9F45BA to HSL:

hsl(286, 46%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #9F45BA to CMYK:

cmyk(15%, 63%, 0%, 27%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #9F45BA has RGB (159, 69, 186) and HSL (286°, 46%, 50%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9F45BA is #60BA45, creating high-contrast pairings. For softer combinations, try analogous colors like #6445BA.

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

Contrast with #9F45BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9F45BA?

#9F45BA is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9F45BA?

#9F45BA in RGB is (159, 69, 186) - 159 red, 69 green, and 186 blue.

How to use #9F45BA in CSS?

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

What colors go well with #9F45BA?

#60BA45 (complementary), #6445BA (analogous), and #6F3082 (lighter shade) work well with #9F45BA.