COLOR #8A5F7E

HEX: #8A5F7E RGB: (138,95,126)

Color info

#8A5F7E contains red, green and blue colors in about the same proportion. Web safe color of #8A5F7E is #996666 (or #966).

RGB color model

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

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

RGB channels and saturation

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

138
95
126

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

Portions of RGB colors in percentages

R + G + B = 138 + 95 + 126 = 359 (100%)
R 138 of 359 ~ 38.44%
G 95 of 359 ~ 26.46%
B 126 of 359 ~ 35.1'%

%38.44
%26.46
%35.1

CMYK color model

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

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

CMYK: (0,31,9,46)
C0M31Y9K46 (0%, 31%, 9%, 46%)
(0.00 / 0.31 / 0.09 / 0.46)

CMYK percentages

%0
%31.16
%8.7
%45.88

Codes

Color #8A5F7E in popluar color models

8A 5F 7E
RGB 138 95 126
HSL 317° 18.45% 45.69%
HSB/HSV 317° 31.16% 54.12%
CMYK 0.00% 31.16% 8.70%
45.88%

Color #8A5F7E in popluar number systems.

HEX 8A 5F 7E
Decimal 138 95 126
Binary 10001010 1011111 1111110
Octal 212 137 176

Shades and tints

Shades of #8A5F7E

#8A5F7E
(138,95,126)
#7E5773
(126,87,115)
#724F68
(114,79,104)
#66475D
(102,71,93)
#5A3F52
(90,63,82)
#4E3747
(78,55,71)
#422F3C
(66,47,60)
#362731
(54,39,49)
#2A1F26
(42,31,38)
#1E171B
(30,23,27)
#120F10
(18,15,16)
#000000
(0,0,0)

Tints of #8A5F7E

#8A5F7E
(138,95,126)
#946D89
(148,109,137)
#9E7B94
(158,123,148)
#A8899F
(168,137,159)
#B297AA
(178,151,170)
#BCA5B5
(188,165,181)
#C6B3C0
(198,179,192)
#D0C1CB
(208,193,203)
#DACFD6
(218,207,214)
#E4DDE1
(228,221,225)
#EEEBEC
(238,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #8A5F7E; }

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

This text font color is #8A5F7E.

Background Color

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

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

This div background color is #8A5F7E.

Border color

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

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

This div border color is #8A5F7E.

Opacity

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

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

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

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

This text has shadow with #8A5F7E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8A5F7E.

Preview

Color preview on black background

This text has color #8A5F7E on black background.


Color preview on white background

This text has color #8A5F7E on white background.


Black color preview on #8A5F7E background

This text has black color on #8A5F7E background.


White color preview on #8A5F7E background

This text has white color on #8A5F7E background.


Related colors

Complementary color

Complementary color for #hex is #75A081.


I love getcolorcode.com

Triadic colors

1 #7E8A5F and #5F7E8A with #8A5F7E are triadic colors.

2 #7E5F8A and #5F8A7E with #8A5F7E are triadic colors.