COLOR #8A6BAA

HEX: #8A6BAA
RGB: (138,107,170)

Color info

#8A6BAA contains mainly red and blue colors. Web safe color of #8A6BAA is #996699 (or #969).

RGB color model

#8A6BAA color RGB value is (138,107,170).

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

RGB channels and saturation

R 138 of 255 = 54%
G 107 of 255 = 42%
B 170 of 255 = 67%

138
107
170

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

Portions of RGB colors in percentages

R + G + B =
138 + 107 + 170 = 415 (100%)
R 138 of 415 ~ 33.25%
G 107 of 415 ~ 25.78%
B 170 of 415 ~ 40.96%

%33.25
%25.78
%40.96

CMYK color model

#8A6BAA color CMYK value is (19,37,0,33).

  • cyan value is 18.82%
  • magenta value is 37.06%
  • yellow value is 0.00%
  • key color value is 33.33%
CMYK:
(19,37,0,33)
C19M37Y0K33 
(19%,37%,0%,33%)
(0.19/0.37/0.00/0.33)	

CMYK percentages

%18.82
%37.06
%0
%33.33

Codes

Color #8A6BAA in popluar color models

8A6BAA
RGB138107170
HSL270°27.04%54.31%
HSB/HSV270°37.06%66.67%
CMYK18.82%37.06%0.00%
33.33%

Color #8A6BAA in popluar number systems.

HEX8A6BAA
Decimal138107170
Binary10001010110101110101010
Octal212153252

Shades and tints

Shades of #8A6BAA

#8A6BAA
(138,107,170)
#7E629B
(126,98,155)
#72598C
(114,89,140)
#66507D
(102,80,125)
#5A476E
(90,71,110)
#4E3E5F
(78,62,95)
#423550
(66,53,80)
#362C41
(54,44,65)
#2A2332
(42,35,50)
#1E1A23
(30,26,35)
#121114
(18,17,20)
#000000
(0,0,0)

Tints of #8A6BAA

#8A6BAA
(138,107,170)
#9478B1
(148,120,177)
#9E85B8
(158,133,184)
#A892BF
(168,146,191)
#B29FC6
(178,159,198)
#BCACCD
(188,172,205)
#C6B9D4
(198,185,212)
#D0C6DB
(208,198,219)
#DAD3E2
(218,211,226)
#E4E0E9
(228,224,233)
#EEEDF0
(238,237,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A6BAA; }

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

This text font color is #8A6BAA.


Background Color

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

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

This div background color is #8A6BAA.


Border color

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

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

This div border color is #8A6BAA.


Opacity

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

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

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

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

This text has shadow with #8A6BAA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6BAA on black background.


Color preview on white background

This text has color #8A6BAA on white background.



Black color preview on #8A6BAA background

This text has black color on #8A6BAA background.


White color preview on #8A6BAA background

This text has white color on #8A6BAA background.