#9940E1 Color Information
Hex color code: #9940E1
#9940E1 is a dynamic purple color. In RGB it is (153, 64, 225), and in HSL it is (273°, 73%, 57%). It is typically applied in digital products.
Shades
color: #9940E1; background-color: #9940E1; border-color: #9940E1; box-shadow: 0 0 10px #9940E1; border: 2px solid #9940E1;
bg-[#9940E1] text-[#9940E1] border-[#9940E1] shadow-[0_0_10px_9940E1]
Generate Gradient
background: linear-gradient(90deg, #9940E1, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #9940E1 in the color wheel.
RGB, HSL and CMYK Values
RGB
153, 64, 225
Red: 153 / Green: 64 / Blue: 225
HSL
273°, 73%, 57%
Hue: 273° / Saturation: 73% / Lightness: 57%
CMYK
32%, 72%, 0%, 12%
Cyan: 32% / Magenta: 72% / Yellow: 0% / Key: 12%
What color is #9940E1?
#9940E1 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#9940E1 is a eye-catching purple color with RGB values of 153, 64, 225 and HSL of 273°, 73%, 57%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #9940E1 is #89E141, creating high-contrast pairings. For softer combinations, try analogous colors like #4941E1.
Use #9940E1 in CSS: color: #9940E1 or background-color: #9940E1. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #9940E1
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #9940E1?
#9940E1 is a eye-catching purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #9940E1?
#9940E1 in RGB is (153, 64, 225) - 153 red, 64 green, and 225 blue.
How to use #9940E1 in CSS?
Use #9940E1 directly in your CSS properties like color or background-color.