✓ Copied to clipboard
#8A31D3 (Cool Violet) color swatch preview — Color From Pic.
#8A31D3 — Cool Violet color swatch

Cool Violet

#8A31D3

📝 Color Information for #8A31D3

The hexadecimal color code #8A31D3 represents a medium shade in the purple family. In the RGB color model, this color is composed of 138 red, 49 green, and 211 blue, which translates to approximately 54% red, 19% green, and 83% blue. This makes it a moderately 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, #8A31D3 has a hue of 273 degrees, a saturation level of 65%, and a lightness value of 51%. The hue angle of 273° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 273°, saturation of 77%, and brightness/value of 83%. For print applications using the CMYK color model, #8A31D3 would be reproduced using 35% cyan, 77% magenta, 0% yellow, and 17% black. The closest web-safe color is #9933CC, 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 #8A31D3 with other colors, consider its complementary color at hue 93° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 9056723, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #8A31D3

Tailwind CSS
purple-700
HEX
#8A31D3
RGB
rgb(138, 49, 211)
RGB %
54%, 19%, 83%
HSL
hsl(273, 65%, 51%)
HSV
hsv(273, 77%, 83%)
CMYK
35%, 77%, 0%, 17%
Decimal
9056723
Web Safe
#9933CC

🎨 Color Schemes for #8A31D3

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #8A31D3

🌗 Shades and Tints of #8A31D3

Shades (adding black)
Tints (adding white)

🎚️ Tones of #8A31D3

Tones (adding gray / desaturating)

🌈 Hue Variations of #8A31D3

Hue Variations (shifting the color spectrum)

👁️ Preview of #8A31D3 in Use

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

👓 Color Blindness Simulation for #8A31D3

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 #8A31D3

:root { --color-hex: #8A31D3; --color-rgb: 138, 49, 211; --color-hsl: 273, 65%, 51%; } .bg-color { background-color: #8A31D3; } .text-color { color: #8A31D3; } .border-color { border-color: #8A31D3; }

🛠️ Use #8A31D3 in Your Project

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

🔗 Related Colors to #8A31D3

#3931D3
Hue -30°
#6231D3
Hue -15°
#B331D3
Hue +15°
#D331CB
Hue +30°
#7526B5
85% L
#622097
70% L
#47176D
50% L
#290D3F
30% L
#A25BDC
61% L
#BA85E5
71% L
#CFABED
80% L
#E7D5F6
90% L

About Cool Violet (#8A31D3)

Cool Violet is a medium, vibrant, cool purple color with a hue angle of 273°, saturation of 65%, and lightness of 51%. Its RGB value is (138, 49, 211) and its CMYK breakdown is C:35% M:77% Y:0% K:17%.

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 #8A31D3

What is the HEX code for Cool Violet? +

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

The RGB value of #8A31D3 is rgb(138, 49, 211). This means the color contains 138 out of 255 parts red, 49 out of 255 parts green, and 211 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(138, 49, 211);

What is the HSL value of #8A31D3? +

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

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

The approximate CMYK value of #8A31D3 is C:35% M:77% Y:0% K:17%. 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 #8A31D3 with Other Tools

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