COLOR #8C31AC

HEX: #8C31AC
RGB: (140,49,172)

Color info

#8C31AC contains mainly red and blue colors. Web safe color of #8C31AC is #993399 (or #939).

RGB color model

#8C31AC color RGB value is (140,49,172).

  • red value is 140;
  • green value is 49;
  • blue value is 172.
RGB:
(140,49,172)
(55%,19%,67%)

RGB channels and saturation

R 140 of 255 = 55%
G 49 of 255 = 19%
B 172 of 255 = 67%

140
49
172

R + G + B ~ 47%. #8C31AC is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
140 + 49 + 172 = 361 (100%)
R 140 of 361 ~ 38.78%
G 49 of 361 ~ 13.57%
B 172 of 361 ~ 47.65%

%38.78
%13.57
%47.65

CMYK color model

#8C31AC color CMYK value is (19,72,0,33).

  • cyan value is 18.60%
  • magenta value is 71.51%
  • yellow value is 0.00%
  • key color value is 32.55%
CMYK:
(19,72,0,33)
C19M72Y0K33 
(19%,72%,0%,33%)
(0.19/0.72/0.00/0.33)	

CMYK percentages

%18.6
%71.51
%0
%32.55

Codes

Color #8C31AC in popluar color models

8C31AC
RGB14049172
HSL284°55.66%43.33%
HSB/HSV284°71.51%67.45%
CMYK18.60%71.51%0.00%
32.55%

Color #8C31AC in popluar number systems.

HEX8C31AC
Decimal14049172
Binary1000110011000110101100
Octal21461254

Shades and tints

Shades of #8C31AC

#8C31AC
(140,49,172)
#802D9D
(128,45,157)
#74298E
(116,41,142)
#68257F
(104,37,127)
#5C2170
(92,33,112)
#501D61
(80,29,97)
#441952
(68,25,82)
#381543
(56,21,67)
#2C1134
(44,17,52)
#200D25
(32,13,37)
#140916
(20,9,22)
#000000
(0,0,0)

Tints of #8C31AC

#8C31AC
(140,49,172)
#9643B3
(150,67,179)
#A055BA
(160,85,186)
#AA67C1
(170,103,193)
#B479C8
(180,121,200)
#BE8BCF
(190,139,207)
#C89DD6
(200,157,214)
#D2AFDD
(210,175,221)
#DCC1E4
(220,193,228)
#E6D3EB
(230,211,235)
#F0E5F2
(240,229,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8C31AC color. Also use rgb(140,49,172) instead hex code.

Text Font Color

.myTextColor { color: #8C31AC; }

<p style="color:#8C31AC">This sample text font color is #8C31AC.</p>

This text font color is #8C31AC.


Background Color

.myBgColor { background-color: #8C31AC; }

<div style="background-color:#8C31AC">Inner text</div>

This div background color is #8C31AC.


Border color

.myBorderColor { border: 1px solid #8C31AC; }

<div style="border:3px solid #8C31AC">Div</div>

This div border color is #8C31AC.


Opacity

.myOpacity80 { color: #8C31AC; opacity: 0.8; }

<p style="color:#8C31AC;opacity:0.8;">80%</p>

Text with #8C31AC color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #8C31AC;}

<p style="text-shadow: 3px 3px 1px #8C31AC">Text here.</p>

This text has shadow with #8C31AC color.

.textShadow {text-shadow: 3px 3px 1px #8C31AC, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #8C31AC, 5px 5px 20px red">Text here.</p>

This text has shadow with #8C31AC primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8C31AC, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#8C31AC, Direction=45, Strength=4)">Text</p>

This text has shadow with #8C31AC and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #8C31AC;
  -webkit-box-shadow:	1px 1px 3px 2px #8C31AC;
  box-shadow:		1px 1px 3px 2px #8C31AC;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #8C31AC;
-webkit-box-shadow: 1px 1px 3px 2px #8C31AC;
box-shadow:1px 1px 3px 2px #8C31AC;">
Div content here</div>
This div box has shadow with color #8C31AC.

Preview

Color preview on black background

This text has color #8C31AC on black background.


Color preview on white background

This text has color #8C31AC on white background.



Black color preview on #8C31AC background

This text has black color on #8C31AC background.


White color preview on #8C31AC background

This text has white color on #8C31AC background.