COLOR #8A5F9E

HEX: #8A5F9E
RGB: (138,95,158)

Color info

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

RGB color model

#8A5F9E color RGB value is (138,95,158).

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

RGB channels and saturation

R 138 of 255 = 54%
G 95 of 255 = 37%
B 158 of 255 = 62%

138
95
158

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

Portions of RGB colors in percentages

R + G + B =
138 + 95 + 158 = 391 (100%)
R 138 of 391 ~ 35.29%
G 95 of 391 ~ 24.3%
B 158 of 391 ~ 40.41%

%35.29
%24.3
%40.41

CMYK color model

#8A5F9E color CMYK value is (13,40,0,38).

  • cyan value is 12.66%
  • magenta value is 39.87%
  • yellow value is 0.00%
  • key color value is 38.04%
CMYK:
(13,40,0,38)
C13M40Y0K38 
(13%,40%,0%,38%)
(0.13/0.40/0.00/0.38)	

CMYK percentages

%12.66
%39.87
%0
%38.04

Codes

Color #8A5F9E in popluar color models

8A5F9E
RGB13895158
HSL281°24.90%49.61%
HSB/HSV281°39.87%61.96%
CMYK12.66%39.87%0.00%
38.04%

Color #8A5F9E in popluar number systems.

HEX8A5F9E
Decimal13895158
Binary10001010101111110011110
Octal212137236

Shades and tints

Shades of #8A5F9E

#8A5F9E
(138,95,158)
#7E5790
(126,87,144)
#724F82
(114,79,130)
#664774
(102,71,116)
#5A3F66
(90,63,102)
#4E3758
(78,55,88)
#422F4A
(66,47,74)
#36273C
(54,39,60)
#2A1F2E
(42,31,46)
#1E1720
(30,23,32)
#120F12
(18,15,18)
#000000
(0,0,0)

Tints of #8A5F9E

#8A5F9E
(138,95,158)
#946DA6
(148,109,166)
#9E7BAE
(158,123,174)
#A889B6
(168,137,182)
#B297BE
(178,151,190)
#BCA5C6
(188,165,198)
#C6B3CE
(198,179,206)
#D0C1D6
(208,193,214)
#DACFDE
(218,207,222)
#E4DDE6
(228,221,230)
#EEEBEE
(238,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A5F9E; }

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

This text font color is #8A5F9E.


Background Color

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

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

This div background color is #8A5F9E.


Border color

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

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

This div border color is #8A5F9E.


Opacity

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

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

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

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

This text has shadow with #8A5F9E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5F9E on black background.


Color preview on white background

This text has color #8A5F9E on white background.



Black color preview on #8A5F9E background

This text has black color on #8A5F9E background.


White color preview on #8A5F9E background

This text has white color on #8A5F9E background.