#9340CB Color Information

Hex color code: #9340CB

The hex color #9340CB is a subtle purple with RGB values of (147, 64, 203) and HSL of (276°, 57%, 52%). It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#9340CB
RGB
147, 64, 203
HSL
276°, 57%, 52%
CMYK
28%, 68%, 0%, 20%

Shades

CSS Usage
color: #9340CB;
background-color: #9340CB;
border-color: #9340CB;
box-shadow: 0 0 10px #9340CB;
border: 2px solid #9340CB;
Tailwind Usage
bg-[#9340CB]
text-[#9340CB]
border-[#9340CB]
shadow-[0_0_10px_9340CB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9340CB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9340CB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #9340CB; 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 #9340CB; background-color: #9340CB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9340CB20; border-left: 4px solid #9340CB; }

Link / Accent

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

a { color: #9340CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9340CB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

147, 64, 203

Red: 147 / Green: 64 / Blue: 203

HSL

276°, 57%, 52%

Hue: 276° / Saturation: 57% / Lightness: 52%

CMYK

28%, 68%, 0%, 20%

Cyan: 28% / Magenta: 68% / Yellow: 0% / Key: 20%

What color is #9340CB?

#9340CB is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9340CB to RGB:

rgb(147, 64, 203)HEX to RGB Converter →

HEX to HSL

Convert #9340CB to HSL:

hsl(276, 57%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #9340CB to CMYK:

cmyk(28%, 68%, 0%, 20%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #9340CB has RGB (147, 64, 203) and HSL (276°, 57%, 52%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9340CB is #77CA3F, creating high-contrast pairings. For softer combinations, try analogous colors like #4D3FCA.

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

Contrast with #9340CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9340CB?

#9340CB is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #9340CB?

#9340CB in RGB is (147, 64, 203) - 147 red, 64 green, and 203 blue.

How to use #9340CB in CSS?

Use #9340CB directly in your CSS properties like color or background-color.

What colors go well with #9340CB?

#77CA3F (complementary), #4D3FCA (analogous), and #692994 (lighter shade) work well with #9340CB.