COLOR #8A6BA6

HEX: #8A6BA6
RGB: (138,107,166)

Color info

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

RGB color model

#8A6BA6 color RGB value is (138,107,166).

  • red value is 138;
  • green value is 107;
  • blue value is 166.
RGB:
(138,107,166)
(54%,42%,65%)

RGB channels and saturation

R 138 of 255 = 54%
G 107 of 255 = 42%
B 166 of 255 = 65%

138
107
166

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

Portions of RGB colors in percentages

R + G + B =
138 + 107 + 166 = 411 (100%)
R 138 of 411 ~ 33.58%
G 107 of 411 ~ 26.03%
B 166 of 411 ~ 40.39%

%33.58
%26.03
%40.39

CMYK color model

#8A6BA6 color CMYK value is (17,36,0,35).

  • cyan value is 16.87%
  • magenta value is 35.54%
  • yellow value is 0.00%
  • key color value is 34.90%
CMYK:
(17,36,0,35)
C17M36Y0K35 
(17%,36%,0%,35%)
(0.17/0.36/0.00/0.35)	

CMYK percentages

%16.87
%35.54
%0
%34.9

Codes

Color #8A6BA6 in popluar color models

8A6BA6
RGB138107166
HSL272°24.89%53.53%
HSB/HSV272°35.54%65.10%
CMYK16.87%35.54%0.00%
34.90%

Color #8A6BA6 in popluar number systems.

HEX8A6BA6
Decimal138107166
Binary10001010110101110100110
Octal212153246

Shades and tints

Shades of #8A6BA6

#8A6BA6
(138,107,166)
#7E6297
(126,98,151)
#725988
(114,89,136)
#665079
(102,80,121)
#5A476A
(90,71,106)
#4E3E5B
(78,62,91)
#42354C
(66,53,76)
#362C3D
(54,44,61)
#2A232E
(42,35,46)
#1E1A1F
(30,26,31)
#121110
(18,17,16)
#000000
(0,0,0)

Tints of #8A6BA6

#8A6BA6
(138,107,166)
#9478AE
(148,120,174)
#9E85B6
(158,133,182)
#A892BE
(168,146,190)
#B29FC6
(178,159,198)
#BCACCE
(188,172,206)
#C6B9D6
(198,185,214)
#D0C6DE
(208,198,222)
#DAD3E6
(218,211,230)
#E4E0EE
(228,224,238)
#EEEDF6
(238,237,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A6BA6 color. Also use rgb(138,107,166) instead hex code.

Text Font Color

.myTextColor { color: #8A6BA6; }

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

This text font color is #8A6BA6.


Background Color

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

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

This div background color is #8A6BA6.


Border color

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

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

This div border color is #8A6BA6.


Opacity

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

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

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

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

This text has shadow with #8A6BA6 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6BA6 on black background.


Color preview on white background

This text has color #8A6BA6 on white background.



Black color preview on #8A6BA6 background

This text has black color on #8A6BA6 background.


White color preview on #8A6BA6 background

This text has white color on #8A6BA6 background.