✓ Copied to clipboard
#840ED8 (Vivid Violet) color swatch preview — Color From Pic.
#840ED8 — Vivid Violet color swatch

Vivid Violet

#840ED8

📝 Color Information for #840ED8

The hexadecimal color code #840ED8 represents a medium shade in the purple family. In the RGB color model, this color is composed of 132 red, 14 green, and 216 blue, which translates to approximately 52% red, 5% green, and 85% blue. This makes it a highly saturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #840ED8 has a hue of 275 degrees, a saturation level of 88%, and a lightness value of 45%. The hue angle of 275° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 275°, saturation of 94%, and brightness/value of 85%. For print applications using the CMYK color model, #840ED8 would be reproduced using 39% cyan, 94% magenta, 0% yellow, and 15% black. The closest web-safe color is #9900CC, 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 high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #840ED8 with other colors, consider its complementary color at hue 95° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 8654552, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #840ED8

Tailwind CSS
purple-700
HEX
#840ED8
RGB
rgb(132, 14, 216)
RGB %
52%, 5%, 85%
HSL
hsl(275, 88%, 45%)
HSV
hsv(275, 94%, 85%)
CMYK
39%, 94%, 0%, 15%
Decimal
8654552
Web Safe
#9900CC

🎨 Color Schemes for #840ED8

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #840ED8

🌗 Shades and Tints of #840ED8

Shades (adding black)
Tints (adding white)

🎚️ Tones of #840ED8

Tones (adding gray / desaturating)

🌈 Hue Variations of #840ED8

Hue Variations (shifting the color spectrum)

👁️ Preview of #840ED8 in Use

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

👓 Color Blindness Simulation for #840ED8

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 #840ED8

:root { --color-hex: #840ED8; --color-rgb: 132, 14, 216; --color-hsl: 275, 88%, 45%; } .bg-color { background-color: #840ED8; } .text-color { color: #840ED8; } .border-color { border-color: #840ED8; }

🛠️ Use #840ED8 in Your Project

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

🔗 Related Colors to #840ED8

#1F0ED8
Hue -30°
#510ED8
Hue -15°
#B60ED8
Hue +15°
#D80EC7
Hue +30°
#6F0CB6
85% L
#5E0A99
70% L
#43076E
50% L
#290443
30% L
#9F2CF2
56% L
#B761F5
67% L
#CF96F8
78% L
#E7CAFC
89% L

About Vivid Violet (#840ED8)

Vivid Violet is a medium, vibrant, cool purple color with a hue angle of 275°, saturation of 88%, and lightness of 45%. Its RGB value is (132, 14, 216) and its CMYK breakdown is C:39% M:94% Y:0% K:15%.

This is a Summer (Cool) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #840ED8

What is the HEX code for Vivid Violet? +

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

The RGB value of #840ED8 is rgb(132, 14, 216). This means the color contains 132 out of 255 parts red, 14 out of 255 parts green, and 216 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(132, 14, 216);

What is the HSL value of #840ED8? +

The HSL value of #840ED8 is hsl(275, 88%, 45%). The hue is 275°, placing it in the purple family on the color wheel. The saturation is 88%, making it vibrant. The lightness is 45%, 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 #840ED8 a warm or cool color? +

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

The approximate CMYK value of #840ED8 is C:39% M:94% Y:0% K:15%. 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 #840ED8 with Other Tools

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