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

Violet

#786CA7

📝 Color Information for #786CA7

The hexadecimal color code #786CA7 represents a medium shade in the blue family. In the RGB color model, this color is composed of 120 red, 108 green, and 167 blue, which translates to approximately 47% red, 42% green, and 65% 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, #786CA7 has a hue of 252 degrees, a saturation level of 25%, and a lightness value of 54%. The hue angle of 252° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 252°, saturation of 35%, and brightness/value of 65%. For print applications using the CMYK color model, #786CA7 would be reproduced using 28% cyan, 35% magenta, 0% yellow, and 35% black. The closest web-safe color is #666699, 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 #786CA7 with other colors, consider its complementary color at hue 72° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 7892135, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #786CA7

Tailwind CSS
slate-500
HEX
#786CA7
RGB
rgb(120, 108, 167)
RGB %
47%, 42%, 65%
HSL
hsl(252, 25%, 54%)
HSV
hsv(252, 35%, 65%)
CMYK
28%, 35%, 0%, 35%
Decimal
7892135
Web Safe
#666699

🎨 Color Schemes for #786CA7

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #786CA7

🌗 Shades and Tints of #786CA7

Shades (adding black)
Tints (adding white)

🎚️ Tones of #786CA7

Tones (adding gray / desaturating)

🌈 Hue Variations of #786CA7

Hue Variations (shifting the color spectrum)

👁️ Preview of #786CA7 in Use

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

👓 Color Blindness Simulation for #786CA7

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 #786CA7

:root { --color-hex: #786CA7; --color-rgb: 120, 108, 167; --color-hsl: 252, 25%, 54%; } .bg-color { background-color: #786CA7; } .text-color { color: #786CA7; } .border-color { border-color: #786CA7; }

🛠️ Use #786CA7 in Your Project

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

🔗 Related Colors to #786CA7

#6C7EA7
Hue -30°
#6C6FA7
Hue -15°
#876CA7
Hue +15°
#956CA7
Hue +30°
#645893
85% L
#524979
70% L
#3B3456
50% L
#231F33
30% L
#9289B8
63% L
#ADA6C9
72% L
#CAC6DD
82% L
#E5E2EE
91% L

About Violet (#786CA7)

Violet is a medium, moderately saturated, cool blue color with a hue angle of 252°, saturation of 25%, and lightness of 54%. Its RGB value is (120, 108, 167) and its CMYK breakdown is C:28% M:35% Y:0% K:35%.

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 #786CA7

What is the HEX code for Violet? +

The HEX code for Violet is #786CA7. In CSS you can use it directly as color: #786CA7; or as a background: background-color: #786CA7;. 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 #786CA7? +

The RGB value of #786CA7 is rgb(120, 108, 167). This means the color contains 120 out of 255 parts red, 108 out of 255 parts green, and 167 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(120, 108, 167);

What is the HSL value of #786CA7? +

The HSL value of #786CA7 is hsl(252, 25%, 54%). The hue is 252°, placing it in the blue family on the color wheel. The saturation is 25%, making it moderately saturated. The lightness is 54%, 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 #786CA7 a warm or cool color? +

#786CA7 is classified as a cool color based on its hue angle of 252°. 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 #786CA7? +

The approximate CMYK value of #786CA7 is C:28% M:35% Y:0% K:35%. 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 #786CA7 with Other Tools

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