COLOR #8E4A9D

HEX: #8E4A9D
RGB: (142,74,157)

Color info

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

RGB color model

#8E4A9D color RGB value is (142,74,157).

  • red value is 142;
  • green value is 74;
  • blue value is 157.
RGB:
(142,74,157)
(56%,29%,62%)

RGB channels and saturation

R 142 of 255 = 56%
G 74 of 255 = 29%
B 157 of 255 = 62%

142
74
157

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

Portions of RGB colors in percentages

R + G + B =
142 + 74 + 157 = 373 (100%)
R 142 of 373 ~ 38.07%
G 74 of 373 ~ 19.84%
B 157 of 373 ~ 42.09%

%38.07
%19.84
%42.09

CMYK color model

#8E4A9D color CMYK value is (10,53,0,38).

  • cyan value is 9.55%
  • magenta value is 52.87%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(10,53,0,38)
C10M53Y0K38 
(10%,53%,0%,38%)
(0.10/0.53/0.00/0.38)	

CMYK percentages

%9.55
%52.87
%0
%38.43

Codes

Color #8E4A9D in popluar color models

8E4A9D
RGB14274157
HSL289°35.93%45.29%
HSB/HSV289°52.87%61.57%
CMYK9.55%52.87%0.00%
38.43%

Color #8E4A9D in popluar number systems.

HEX8E4A9D
Decimal14274157
Binary10001110100101010011101
Octal216112235

Shades and tints

Shades of #8E4A9D

#8E4A9D
(142,74,157)
#82448F
(130,68,143)
#763E81
(118,62,129)
#6A3873
(106,56,115)
#5E3265
(94,50,101)
#522C57
(82,44,87)
#462649
(70,38,73)
#3A203B
(58,32,59)
#2E1A2D
(46,26,45)
#22141F
(34,20,31)
#160E11
(22,14,17)
#000000
(0,0,0)

Tints of #8E4A9D

#8E4A9D
(142,74,157)
#985AA5
(152,90,165)
#A26AAD
(162,106,173)
#AC7AB5
(172,122,181)
#B68ABD
(182,138,189)
#C09AC5
(192,154,197)
#CAAACD
(202,170,205)
#D4BAD5
(212,186,213)
#DECADD
(222,202,221)
#E8DAE5
(232,218,229)
#F2EAED
(242,234,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8E4A9D color. Also use rgb(142,74,157) instead hex code.

Text Font Color

.myTextColor { color: #8E4A9D; }

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

This text font color is #8E4A9D.


Background Color

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

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

This div background color is #8E4A9D.


Border color

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

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

This div border color is #8E4A9D.


Opacity

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

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

Text with #8E4A9D 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 #8E4A9D;}

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

This text has shadow with #8E4A9D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8E4A9D on black background.


Color preview on white background

This text has color #8E4A9D on white background.



Black color preview on #8E4A9D background

This text has black color on #8E4A9D background.


White color preview on #8E4A9D background

This text has white color on #8E4A9D background.