COLOR #8A7FAF

HEX: #8A7FAF
RGB: (138,127,175)

Color info

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

RGB color model

#8A7FAF color RGB value is (138,127,175).

  • red value is 138;
  • green value is 127;
  • blue value is 175.
RGB:
(138,127,175)
(54%,50%,69%)

RGB channels and saturation

R 138 of 255 = 54%
G 127 of 255 = 50%
B 175 of 255 = 69%

138
127
175

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

Portions of RGB colors in percentages

R + G + B =
138 + 127 + 175 = 440 (100%)
R 138 of 440 ~ 31.36%
G 127 of 440 ~ 28.86%
B 175 of 440 ~ 39.77%

%31.36
%28.86
%39.77

CMYK color model

#8A7FAF color CMYK value is (21,27,0,31).

  • cyan value is 21.14%
  • magenta value is 27.43%
  • yellow value is 0.00%
  • key color value is 31.37%
CMYK:
(21,27,0,31)
C21M27Y0K31 
(21%,27%,0%,31%)
(0.21/0.27/0.00/0.31)	

CMYK percentages

%21.14
%27.43
%0
%31.37

Codes

Color #8A7FAF in popluar color models

8A7FAF
RGB138127175
HSL254°23.08%59.22%
HSB/HSV254°27.43%68.63%
CMYK21.14%27.43%0.00%
31.37%

Color #8A7FAF in popluar number systems.

HEX8A7FAF
Decimal138127175
Binary10001010111111110101111
Octal212177257

Shades and tints

Shades of #8A7FAF

#8A7FAF
(138,127,175)
#7E74A0
(126,116,160)
#726991
(114,105,145)
#665E82
(102,94,130)
#5A5373
(90,83,115)
#4E4864
(78,72,100)
#423D55
(66,61,85)
#363246
(54,50,70)
#2A2737
(42,39,55)
#1E1C28
(30,28,40)
#121119
(18,17,25)
#000000
(0,0,0)

Tints of #8A7FAF

#8A7FAF
(138,127,175)
#948AB6
(148,138,182)
#9E95BD
(158,149,189)
#A8A0C4
(168,160,196)
#B2ABCB
(178,171,203)
#BCB6D2
(188,182,210)
#C6C1D9
(198,193,217)
#D0CCE0
(208,204,224)
#DAD7E7
(218,215,231)
#E4E2EE
(228,226,238)
#EEEDF5
(238,237,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A7FAF color. Also use rgb(138,127,175) instead hex code.

Text Font Color

.myTextColor { color: #8A7FAF; }

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

This text font color is #8A7FAF.


Background Color

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

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

This div background color is #8A7FAF.


Border color

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

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

This div border color is #8A7FAF.


Opacity

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

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

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

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

This text has shadow with #8A7FAF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A7FAF on black background.


Color preview on white background

This text has color #8A7FAF on white background.



Black color preview on #8A7FAF background

This text has black color on #8A7FAF background.


White color preview on #8A7FAF background

This text has white color on #8A7FAF background.