COLOR #8A7D9D

HEX: #8A7D9D
RGB: (138,125,157)

Color info

#8A7D9D contains red, green and blue colors in about the same proportion. Web safe color of #8A7D9D is #996699 (or #969).

RGB color model

#8A7D9D color RGB value is (138,125,157).

  • red value is 138;
  • green value is 125;
  • blue value is 157.
RGB:
(138,125,157)
(54%,49%,62%)

RGB channels and saturation

R 138 of 255 = 54%
G 125 of 255 = 49%
B 157 of 255 = 62%

138
125
157

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

Portions of RGB colors in percentages

R + G + B =
138 + 125 + 157 = 420 (100%)
R 138 of 420 ~ 32.86%
G 125 of 420 ~ 29.76%
B 157 of 420 ~ 37.38%

%32.86
%29.76
%37.38

CMYK color model

#8A7D9D color CMYK value is (12,20,0,38).

  • cyan value is 12.10%
  • magenta value is 20.38%
  • yellow value is 0.00%
  • key color value is 38.43%
CMYK:
(12,20,0,38)
C12M20Y0K38 
(12%,20%,0%,38%)
(0.12/0.20/0.00/0.38)	

CMYK percentages

%12.1
%20.38
%0
%38.43

Codes

Color #8A7D9D in popluar color models

8A7D9D
RGB138125157
HSL264°14.04%55.29%
HSB/HSV264°20.38%61.57%
CMYK12.10%20.38%0.00%
38.43%

Color #8A7D9D in popluar number systems.

HEX8A7D9D
Decimal138125157
Binary10001010111110110011101
Octal212175235

Shades and tints

Shades of #8A7D9D

#8A7D9D
(138,125,157)
#7E728F
(126,114,143)
#726781
(114,103,129)
#665C73
(102,92,115)
#5A5165
(90,81,101)
#4E4657
(78,70,87)
#423B49
(66,59,73)
#36303B
(54,48,59)
#2A252D
(42,37,45)
#1E1A1F
(30,26,31)
#120F11
(18,15,17)
#000000
(0,0,0)

Tints of #8A7D9D

#8A7D9D
(138,125,157)
#9488A5
(148,136,165)
#9E93AD
(158,147,173)
#A89EB5
(168,158,181)
#B2A9BD
(178,169,189)
#BCB4C5
(188,180,197)
#C6BFCD
(198,191,205)
#D0CAD5
(208,202,213)
#DAD5DD
(218,213,221)
#E4E0E5
(228,224,229)
#EEEBED
(238,235,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A7D9D color. Also use rgb(138,125,157) instead hex code.

Text Font Color

.myTextColor { color: #8A7D9D; }

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

This text font color is #8A7D9D.


Background Color

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

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

This div background color is #8A7D9D.


Border color

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

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

This div border color is #8A7D9D.


Opacity

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

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

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

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

This text has shadow with #8A7D9D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7D9D on black background.


Color preview on white background

This text has color #8A7D9D on white background.



Black color preview on #8A7D9D background

This text has black color on #8A7D9D background.


White color preview on #8A7D9D background

This text has white color on #8A7D9D background.