COLOR #8A5F9A

HEX: #8A5F9A RGB: (138,95,154)

Color info

#8A5F9A contains red, green and blue colors in about the same proportion. Web safe color of #8A5F9A is #996699 (or #969).

RGB color model

#8A5F9A color RGB value is (138,95,154).

RGB: (138,95,154) (54%, 37%, 60%)

RGB channels and saturation

R 138 of 255 = 54%
G 95 of 255 = 37%
B 154 of 255 = 60%

138
95
154

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

Portions of RGB colors in percentages

R + G + B = 138 + 95 + 154 = 387 (100%)
R 138 of 387 ~ 35.66%
G 95 of 387 ~ 24.55%
B 154 of 387 ~ 39.79'%

%35.66
%24.55
%39.79

CMYK color model

#8A5F9A color CMYK value is (10,38,0,40).

  • cyan value is 10.39%
  • magenta value is 38.31%
  • yellow value is 0.00%
  • key color value is 39.61%
CMYK: (10,38,0,40) C10M38Y0K40 (10%,38%,0%,40%) (0.10/0.38/0.00/0.40) 

CMYK percentages

%10.39
%38.31
%0
%39.61

Codes

Color #8A5F9A in popluar color models

8A 5F 9A
RGB 138 95 154
HSL 284° 23.69% 48.82%
HSB/HSV 284° 38.31% 60.39%
CMYK 10.39% 38.31% 0.00%
39.61%

Color #8A5F9A in popluar number systems.

HEX 8A 5F 9A
Decimal 138 95 154
Binary 10001010 1011111 10011010
Octal 212 137 232

Shades and tints

Shades of #8A5F9A

#8A5F9A
(138,95,154)
#7E578C
(126,87,140)
#724F7E
(114,79,126)
#664770
(102,71,112)
#5A3F62
(90,63,98)
#4E3754
(78,55,84)
#422F46
(66,47,70)
#362738
(54,39,56)
#2A1F2A
(42,31,42)
#1E171C
(30,23,28)
#120F0E
(18,15,14)
#000000
(0,0,0)

Tints of #8A5F9A

#8A5F9A
(138,95,154)
#946DA3
(148,109,163)
#9E7BAC
(158,123,172)
#A889B5
(168,137,181)
#B297BE
(178,151,190)
#BCA5C7
(188,165,199)
#C6B3D0
(198,179,208)
#D0C1D9
(208,193,217)
#DACFE2
(218,207,226)
#E4DDEB
(228,221,235)
#EEEBF4
(238,235,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A5F9A; }

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

This text font color is #8A5F9A.

Background Color

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

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

This div background color is #8A5F9A.

Border color

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

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

This div border color is #8A5F9A.

Opacity

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

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

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

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

This text has shadow with #8A5F9A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A5F9A.

Preview

Color preview on black background

This text has color #8A5F9A on black background.


Color preview on white background

This text has color #8A5F9A on white background.


Black color preview on #8A5F9A background

This text has black color on #8A5F9A background.


White color preview on #8A5F9A background

This text has white color on #8A5F9A background.


Related colors

Complementary color

Complementary color for #hex is #75A065.


I love getcolorcode.com

Triadic colors

1 #9A8A5F and #5F9A8A with #8A5F9A are triadic colors.

2 #9A5F8A and #5F8A9A with #8A5F9A are triadic colors.