COLOR #8A5FB5

HEX: #8A5FB5
RGB: (138,95,181)

Color info

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

RGB color model

#8A5FB5 color RGB value is (138,95,181).

  • red value is 138;
  • green value is 95;
  • blue value is 181.
RGB:
(138,95,181)
(54%,37%,71%)

RGB channels and saturation

R 138 of 255 = 54%
G 95 of 255 = 37%
B 181 of 255 = 71%

138
95
181

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

Portions of RGB colors in percentages

R + G + B =
138 + 95 + 181 = 414 (100%)
R 138 of 414 ~ 33.33%
G 95 of 414 ~ 22.95%
B 181 of 414 ~ 43.72%

%33.33
%22.95
%43.72

CMYK color model

#8A5FB5 color CMYK value is (24,48,0,29).

  • cyan value is 23.76%
  • magenta value is 47.51%
  • yellow value is 0.00%
  • key color value is 29.02%
CMYK:
(24,48,0,29)
C24M48Y0K29 
(24%,48%,0%,29%)
(0.24/0.48/0.00/0.29)	

CMYK percentages

%23.76
%47.51
%0
%29.02

Codes

Color #8A5FB5 in popluar color models

8A5FB5
RGB13895181
HSL270°36.75%54.12%
HSB/HSV270°47.51%70.98%
CMYK23.76%47.51%0.00%
29.02%

Color #8A5FB5 in popluar number systems.

HEX8A5FB5
Decimal13895181
Binary10001010101111110110101
Octal212137265

Shades and tints

Shades of #8A5FB5

#8A5FB5
(138,95,181)
#7E57A5
(126,87,165)
#724F95
(114,79,149)
#664785
(102,71,133)
#5A3F75
(90,63,117)
#4E3765
(78,55,101)
#422F55
(66,47,85)
#362745
(54,39,69)
#2A1F35
(42,31,53)
#1E1725
(30,23,37)
#120F15
(18,15,21)
#000000
(0,0,0)

Tints of #8A5FB5

#8A5FB5
(138,95,181)
#946DBB
(148,109,187)
#9E7BC1
(158,123,193)
#A889C7
(168,137,199)
#B297CD
(178,151,205)
#BCA5D3
(188,165,211)
#C6B3D9
(198,179,217)
#D0C1DF
(208,193,223)
#DACFE5
(218,207,229)
#E4DDEB
(228,221,235)
#EEEBF1
(238,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5FB5 color. Also use rgb(138,95,181) instead hex code.

Text Font Color

.myTextColor { color: #8A5FB5; }

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

This text font color is #8A5FB5.


Background Color

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

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

This div background color is #8A5FB5.


Border color

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

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

This div border color is #8A5FB5.


Opacity

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

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

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

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

This text has shadow with #8A5FB5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5FB5 on black background.


Color preview on white background

This text has color #8A5FB5 on white background.



Black color preview on #8A5FB5 background

This text has black color on #8A5FB5 background.


White color preview on #8A5FB5 background

This text has white color on #8A5FB5 background.