COLOR #8A6CB4

HEX: #8A6CB4
RGB: (138,108,180)

Color info

#8A6CB4 contains mainly red and blue colors. Web safe color of #8A6CB4 is #9966CC (or #96C).

RGB color model

#8A6CB4 color RGB value is (138,108,180).

  • red value is 138;
  • green value is 108;
  • blue value is 180.
RGB:
(138,108,180)
(54%,42%,71%)

RGB channels and saturation

R 138 of 255 = 54%
G 108 of 255 = 42%
B 180 of 255 = 71%

138
108
180

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

Portions of RGB colors in percentages

R + G + B =
138 + 108 + 180 = 426 (100%)
R 138 of 426 ~ 32.39%
G 108 of 426 ~ 25.35%
B 180 of 426 ~ 42.25%

%32.39
%25.35
%42.25

CMYK color model

#8A6CB4 color CMYK value is (23,40,0,29).

  • cyan value is 23.33%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 29.41%
CMYK:
(23,40,0,29)
C23M40Y0K29 
(23%,40%,0%,29%)
(0.23/0.40/0.00/0.29)	

CMYK percentages

%23.33
%40
%0
%29.41

Codes

Color #8A6CB4 in popluar color models

8A6CB4
RGB138108180
HSL265°32.43%56.47%
HSB/HSV265°40.00%70.59%
CMYK23.33%40.00%0.00%
29.41%

Color #8A6CB4 in popluar number systems.

HEX8A6CB4
Decimal138108180
Binary10001010110110010110100
Octal212154264

Shades and tints

Shades of #8A6CB4

#8A6CB4
(138,108,180)
#7E63A4
(126,99,164)
#725A94
(114,90,148)
#665184
(102,81,132)
#5A4874
(90,72,116)
#4E3F64
(78,63,100)
#423654
(66,54,84)
#362D44
(54,45,68)
#2A2434
(42,36,52)
#1E1B24
(30,27,36)
#121214
(18,18,20)
#000000
(0,0,0)

Tints of #8A6CB4

#8A6CB4
(138,108,180)
#9479BA
(148,121,186)
#9E86C0
(158,134,192)
#A893C6
(168,147,198)
#B2A0CC
(178,160,204)
#BCADD2
(188,173,210)
#C6BAD8
(198,186,216)
#D0C7DE
(208,199,222)
#DAD4E4
(218,212,228)
#E4E1EA
(228,225,234)
#EEEEF0
(238,238,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A6CB4 color. Also use rgb(138,108,180) instead hex code.

Text Font Color

.myTextColor { color: #8A6CB4; }

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

This text font color is #8A6CB4.


Background Color

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

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

This div background color is #8A6CB4.


Border color

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

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

This div border color is #8A6CB4.


Opacity

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

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

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

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

This text has shadow with #8A6CB4 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A6CB4 on black background.


Color preview on white background

This text has color #8A6CB4 on white background.



Black color preview on #8A6CB4 background

This text has black color on #8A6CB4 background.


White color preview on #8A6CB4 background

This text has white color on #8A6CB4 background.