COLOR #8A5DB1

HEX: #8A5DB1
RGB: (138,93,177)

Color info

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

RGB color model

#8A5DB1 color RGB value is (138,93,177).

  • red value is 138;
  • green value is 93;
  • blue value is 177.
RGB:
(138,93,177)
(54%,36%,69%)

RGB channels and saturation

R 138 of 255 = 54%
G 93 of 255 = 36%
B 177 of 255 = 69%

138
93
177

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

Portions of RGB colors in percentages

R + G + B =
138 + 93 + 177 = 408 (100%)
R 138 of 408 ~ 33.82%
G 93 of 408 ~ 22.79%
B 177 of 408 ~ 43.38%

%33.82
%22.79
%43.38

CMYK color model

#8A5DB1 color CMYK value is (22,47,0,31).

  • cyan value is 22.03%
  • magenta value is 47.46%
  • yellow value is 0.00%
  • key color value is 30.59%
CMYK:
(22,47,0,31)
C22M47Y0K31 
(22%,47%,0%,31%)
(0.22/0.47/0.00/0.31)	

CMYK percentages

%22.03
%47.46
%0
%30.59

Codes

Color #8A5DB1 in popluar color models

8A5DB1
RGB13893177
HSL272°35.00%52.94%
HSB/HSV272°47.46%69.41%
CMYK22.03%47.46%0.00%
30.59%

Color #8A5DB1 in popluar number systems.

HEX8A5DB1
Decimal13893177
Binary10001010101110110110001
Octal212135261

Shades and tints

Shades of #8A5DB1

#8A5DB1
(138,93,177)
#7E55A1
(126,85,161)
#724D91
(114,77,145)
#664581
(102,69,129)
#5A3D71
(90,61,113)
#4E3561
(78,53,97)
#422D51
(66,45,81)
#362541
(54,37,65)
#2A1D31
(42,29,49)
#1E1521
(30,21,33)
#120D11
(18,13,17)
#000000
(0,0,0)

Tints of #8A5DB1

#8A5DB1
(138,93,177)
#946BB8
(148,107,184)
#9E79BF
(158,121,191)
#A887C6
(168,135,198)
#B295CD
(178,149,205)
#BCA3D4
(188,163,212)
#C6B1DB
(198,177,219)
#D0BFE2
(208,191,226)
#DACDE9
(218,205,233)
#E4DBF0
(228,219,240)
#EEE9F7
(238,233,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5DB1 color. Also use rgb(138,93,177) instead hex code.

Text Font Color

.myTextColor { color: #8A5DB1; }

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

This text font color is #8A5DB1.


Background Color

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

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

This div background color is #8A5DB1.


Border color

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

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

This div border color is #8A5DB1.


Opacity

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

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

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

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

This text has shadow with #8A5DB1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5DB1 on black background.


Color preview on white background

This text has color #8A5DB1 on white background.



Black color preview on #8A5DB1 background

This text has black color on #8A5DB1 background.


White color preview on #8A5DB1 background

This text has white color on #8A5DB1 background.