✓ Copied to clipboard
#7940BA (Violet) color swatch preview — Color From Pic.
#7940BA — Violet color swatch

Violet

#7940BA

📝 Color Information for #7940BA

The hexadecimal color code #7940BA represents a medium shade in the blue family. In the RGB color model, this color is composed of 121 red, 64 green, and 186 blue, which translates to approximately 47% red, 25% green, and 73% blue. This makes it a slightly desaturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #7940BA has a hue of 268 degrees, a saturation level of 49%, and a lightness value of 49%. The hue angle of 268° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 268°, saturation of 66%, and brightness/value of 73%. For print applications using the CMYK color model, #7940BA would be reproduced using 35% cyan, 66% magenta, 0% yellow, and 27% black. The closest web-safe color is #6633CC, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #7940BA with other colors, consider its complementary color at hue 88° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 7946426, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #7940BA

Tailwind CSS
purple-700
HEX
#7940BA
RGB
rgb(121, 64, 186)
RGB %
47%, 25%, 73%
HSL
hsl(268, 49%, 49%)
HSV
hsv(268, 66%, 73%)
CMYK
35%, 66%, 0%, 27%
Decimal
7946426
Web Safe
#6633CC

🎨 Color Schemes for #7940BA

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #7940BA

🌗 Shades and Tints of #7940BA

Shades (adding black)
Tints (adding white)

🎚️ Tones of #7940BA

Tones (adding gray / desaturating)

🌈 Hue Variations of #7940BA

Hue Variations (shifting the color spectrum)

👁️ Preview of #7940BA in Use

Text on #7940BA
This demonstrates text readability on the color background. (Click to edit)
#7940BA as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #7940BA

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #7940BA

:root { --color-hex: #7940BA; --color-rgb: 121, 64, 186; --color-hsl: 268, 49%, 49%; } .bg-color { background-color: #7940BA; } .text-color { color: #7940BA; } .border-color { border-color: #7940BA; }

🛠️ Use #7940BA in Your Project

🎨
Build a Palette with #7940BA
Generate harmonious color schemes
⚖️
Check Contrast for #7940BA
WCAG accessibility testing
🌈
Create a Gradient with #7940BA
Beautiful CSS gradients

🔗 Related Colors to #7940BA

#4044BA
Hue -30°
#5A40BA
Hue -15°
#9740BA
Hue +15°
#B640BA
Hue +30°
#6837A0
85% L
#542C81
70% L
#3E215F
50% L
#251439
30% L
#9363CA
59% L
#AD89D7
69% L
#CAB3E5
80% L
#E5D9F2
90% L

About Violet (#7940BA)

Violet is a medium, moderately saturated, cool blue color with a hue angle of 268°, saturation of 49%, and lightness of 49%. Its RGB value is (121, 64, 186) and its CMYK breakdown is C:35% M:66% Y:0% K:27%.

This is a Summer (Cool) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.

Frequently Asked Questions About #7940BA

What is the HEX code for Violet? +

The HEX code for Violet is #7940BA. In CSS you can use it directly as color: #7940BA; or as a background: background-color: #7940BA;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #7940BA? +

The RGB value of #7940BA is rgb(121, 64, 186). This means the color contains 121 out of 255 parts red, 64 out of 255 parts green, and 186 out of 255 parts blue. Red is the moderate channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(121, 64, 186);

What is the HSL value of #7940BA? +

The HSL value of #7940BA is hsl(268, 49%, 49%). The hue is 268°, placing it in the blue family on the color wheel. The saturation is 49%, making it moderately saturated. The lightness is 49%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #7940BA a warm or cool color? +

#7940BA is classified as a cool color based on its hue angle of 268°. Cool colors — blues, greens, and purples — evoke calm, trust, and professionalism. They tend to recede visually and create a feeling of space. In design, cool colors are often used for technology, healthcare, and finance brands, as well as anywhere a sense of calm or reliability is needed.

What is the CMYK value of #7940BA? +

The approximate CMYK value of #7940BA is C:35% M:66% Y:0% K:27%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #7940BA with Other Tools

🔢
Color Converter
Get all formats for #7940BA — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #7940BA passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #7940BA.
👓
Blindness Simulator
See how #7940BA appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #7940BA.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #7940BA.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #7940BA.
🔬
Technical Formats
See #7940BA in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #7940BA as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.