#8F40CF Color Information

Hex color code: #8F40CF

#8F40CF is a subtle purple color. In RGB it is (143, 64, 207), and in HSL it is (273°, 60%, 53%). It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#8F40CF
RGB
143, 64, 207
HSL
273°, 60%, 53%
CMYK
31%, 69%, 0%, 19%

Shades

CSS Usage
color: #8F40CF;
background-color: #8F40CF;
border-color: #8F40CF;
box-shadow: 0 0 10px #8F40CF;
border: 2px solid #8F40CF;
Tailwind Usage
bg-[#8F40CF]
text-[#8F40CF]
border-[#8F40CF]
shadow-[0_0_10px_8F40CF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #8F40CF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #8F40CF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #8F40CF; 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 #8F40CF; background-color: #8F40CF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #8F40CF20; border-left: 4px solid #8F40CF; }

Link / Accent

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

a { color: #8F40CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8F40CF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

143, 64, 207

Red: 143 / Green: 64 / Blue: 207

HSL

273°, 60%, 53%

Hue: 273° / Saturation: 60% / Lightness: 53%

CMYK

31%, 69%, 0%, 19%

Cyan: 31% / Magenta: 69% / Yellow: 0% / Key: 19%

What color is #8F40CF?

#8F40CF is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8F40CF to RGB:

rgb(143, 64, 207)HEX to RGB Converter →

HEX to HSL

Convert #8F40CF to HSL:

hsl(273, 60%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #8F40CF to CMYK:

cmyk(31%, 69%, 0%, 19%)Color Converter →

Color Meaning and Usage

A understated purple tone, #8F40CF has RGB (143, 64, 207) and HSL (273°, 60%, 53%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8F40CF is #80CF3F, creating high-contrast pairings. For softer combinations, try analogous colors like #463FCF.

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

Contrast with #8F40CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8F40CF?

#8F40CF is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8F40CF?

#8F40CF in RGB is (143, 64, 207) - 143 red, 64 green, and 207 blue.

How to use #8F40CF in CSS?

Use #8F40CF directly in your CSS properties like color or background-color.

What colors go well with #8F40CF?

#80CF3F (complementary), #463FCF (analogous), and #67279B (lighter shade) work well with #8F40CF.