COLOR #8A5F8A

HEX: #8A5F8A RGB: (138,95,138)

Color info

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

RGB color model

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

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

RGB channels and saturation

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

138
95
138

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

Portions of RGB colors in percentages

R + G + B = 138 + 95 + 138 = 371 (100%)
R 138 of 371 ~ 37.2%
G 95 of 371 ~ 25.61%
B 138 of 371 ~ 37.2'%

%37.2
%25.61
%37.2

CMYK color model

#8A5F8A color CMYK value is (0,31,0,46).

  • cyan value is 0.00%
  • magenta value is 31.16%
  • yellow value is 0.00%
  • key color value is 45.88%

CMYK: (0,31,0,46)
C0M31Y0K46 (0%, 31%, 0%, 46%)
(0.00 / 0.31 / 0.00 / 0.46)

CMYK percentages

%0
%31.16
%0
%45.88

Codes

Color #8A5F8A in popluar color models

8A 5F 8A
RGB 138 95 138
HSL 300° 18.45% 45.69%
HSB/HSV 300° 31.16% 54.12%
CMYK 0.00% 31.16% 0.00%
45.88%

Color #8A5F8A in popluar number systems.

HEX 8A 5F 8A
Decimal 138 95 138
Binary 10001010 1011111 10001010
Octal 212 137 212

Shades and tints

Shades of #8A5F8A

#8A5F8A
(138,95,138)
#7E577E
(126,87,126)
#724F72
(114,79,114)
#664766
(102,71,102)
#5A3F5A
(90,63,90)
#4E374E
(78,55,78)
#422F42
(66,47,66)
#362736
(54,39,54)
#2A1F2A
(42,31,42)
#1E171E
(30,23,30)
#120F12
(18,15,18)
#000000
(0,0,0)

Tints of #8A5F8A

#8A5F8A
(138,95,138)
#946D94
(148,109,148)
#9E7B9E
(158,123,158)
#A889A8
(168,137,168)
#B297B2
(178,151,178)
#BCA5BC
(188,165,188)
#C6B3C6
(198,179,198)
#D0C1D0
(208,193,208)
#DACFDA
(218,207,218)
#E4DDE4
(228,221,228)
#EEEBEE
(238,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A5F8A; }

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

This text font color is #8A5F8A.

Background Color

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

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

This div background color is #8A5F8A.

Border color

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

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

This div border color is #8A5F8A.

Opacity

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

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

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

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

This text has shadow with #8A5F8A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A5F8A.

Preview

Color preview on black background

This text has color #8A5F8A on black background.


Color preview on white background

This text has color #8A5F8A on white background.


Black color preview on #8A5F8A background

This text has black color on #8A5F8A background.


White color preview on #8A5F8A background

This text has white color on #8A5F8A background.


Related colors

Complementary color

Complementary color for #hex is #75A075.


I love getcolorcode.com

Triadic colors

1 #8A8A5F and #5F8A8A with #8A5F8A are triadic colors.

2 #8A5F8A and #5F8A8A with #8A5F8A are triadic colors.