COLOR #8A7F98

HEX: #8A7F98 RGB: (138,127,152)

Color info

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

RGB color model

#8A7F98 color RGB value is (138,127,152).

RGB: (138,127,152) (54%, 50%, 60%)

RGB channels and saturation

R 138 of 255 = 54%
G 127 of 255 = 50%
B 152 of 255 = 60%

138
127
152

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

Portions of RGB colors in percentages

R + G + B = 138 + 127 + 152 = 417 (100%)
R 138 of 417 ~ 33.09%
G 127 of 417 ~ 30.46%
B 152 of 417 ~ 36.45'%

%33.09
%30.46
%36.45

CMYK color model

#8A7F98 color CMYK value is (9,16,0,40).

  • cyan value is 9.21%
  • magenta value is 16.45%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (9,16,0,40)
C9M16Y0K40 (9%, 16%, 0%, 40%)
(0.09 / 0.16 / 0.00 / 0.40)

CMYK percentages

%9.21
%16.45
%0
%40.39

Codes

Color #8A7F98 in popluar color models

8A 7F 98
RGB 138 127 152
HSL 266° 10.82% 54.71%
HSB/HSV 266° 16.45% 59.61%
CMYK 9.21% 16.45% 0.00%
40.39%

Color #8A7F98 in popluar number systems.

HEX 8A 7F 98
Decimal 138 127 152
Binary 10001010 1111111 10011000
Octal 212 177 230

Shades and tints

Shades of #8A7F98

#8A7F98
(138,127,152)
#7E748B
(126,116,139)
#72697E
(114,105,126)
#665E71
(102,94,113)
#5A5364
(90,83,100)
#4E4857
(78,72,87)
#423D4A
(66,61,74)
#36323D
(54,50,61)
#2A2730
(42,39,48)
#1E1C23
(30,28,35)
#121116
(18,17,22)
#000000
(0,0,0)

Tints of #8A7F98

#8A7F98
(138,127,152)
#948AA1
(148,138,161)
#9E95AA
(158,149,170)
#A8A0B3
(168,160,179)
#B2ABBC
(178,171,188)
#BCB6C5
(188,182,197)
#C6C1CE
(198,193,206)
#D0CCD7
(208,204,215)
#DAD7E0
(218,215,224)
#E4E2E9
(228,226,233)
#EEEDF2
(238,237,242)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A7F98; }

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

This text font color is #8A7F98.

Background Color

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

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

This div background color is #8A7F98.

Border color

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

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

This div border color is #8A7F98.

Opacity

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

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

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

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

This text has shadow with #8A7F98 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A7F98.

Preview

Color preview on black background

This text has color #8A7F98 on black background.


Color preview on white background

This text has color #8A7F98 on white background.


Black color preview on #8A7F98 background

This text has black color on #8A7F98 background.


White color preview on #8A7F98 background

This text has white color on #8A7F98 background.


Related colors

Complementary color

Complementary color for #hex is #758067.


I love getcolorcode.com

Triadic colors

1 #988A7F and #7F988A with #8A7F98 are triadic colors.

2 #987F8A and #7F8A98 with #8A7F98 are triadic colors.