#8D40CF Color Information

Hex color code: #8D40CF

The hex color #8D40CF is a subtle purple with RGB values of (141, 64, 207) and HSL of (272°, 60%, 53%). It is often used for branding and logos.

Try:
Color NameDark Orchid
HEX
#8D40CF
RGB
141, 64, 207
HSL
272°, 60%, 53%
CMYK
32%, 69%, 0%, 19%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #8D40CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

141, 64, 207

Red: 141 / Green: 64 / Blue: 207

HSL

272°, 60%, 53%

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

CMYK

32%, 69%, 0%, 19%

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

What color is #8D40CF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8D40CF to RGB:

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

HEX to HSL

Convert #8D40CF to HSL:

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

HEX to CMYK

Convert #8D40CF to CMYK:

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

Color Meaning and Usage

A neutral purple tone, #8D40CF has RGB (141, 64, 207) and HSL (272°, 60%, 53%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8D40CF is #82CF3F, creating high-contrast pairings. For softer combinations, try analogous colors like #443FCF.

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

Contrast with #8D40CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8D40CF?

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

What is the RGB value of #8D40CF?

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

How to use #8D40CF in CSS?

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

What colors go well with #8D40CF?

#82CF3F (complementary), #443FCF (analogous), and #65279B (lighter shade) work well with #8D40CF.