#9F40BF Color Information

Hex color code: #9F40BF

#9F40BF is a understated magenta color. In RGB it is (159, 64, 191), and in HSL it is (285°, 50%, 50%). It is widely used in graphic design.

Try:
Color NameDark Orchid
HEX
#9F40BF
RGB
159, 64, 191
HSL
285°, 50%, 50%
CMYK
17%, 66%, 0%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #9F40BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

159, 64, 191

Red: 159 / Green: 64 / Blue: 191

HSL

285°, 50%, 50%

Hue: 285° / Saturation: 50% / Lightness: 50%

CMYK

17%, 66%, 0%, 25%

Cyan: 17% / Magenta: 66% / Yellow: 0% / Key: 25%

What color is #9F40BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9F40BF to RGB:

rgb(159, 64, 191)HEX to RGB Converter →

HEX to HSL

Convert #9F40BF to HSL:

hsl(285, 50%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #9F40BF to CMYK:

cmyk(17%, 66%, 0%, 25%)Color Converter →

Color Meaning and Usage

#9F40BF is a muted magenta color with RGB values of 159, 64, 191 and HSL of 285°, 50%, 50%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9F40BF is #60BF40, creating high-contrast pairings. For softer combinations, try analogous colors like #6040BF.

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

Contrast with #9F40BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9F40BF?

#9F40BF is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9F40BF?

#9F40BF in RGB is (159, 64, 191) - 159 red, 64 green, and 191 blue.

How to use #9F40BF in CSS?

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

What colors go well with #9F40BF?

#60BF40 (complementary), #6040BF (analogous), and #702D86 (lighter shade) work well with #9F40BF.