COLOR #7E5A97

HEX: #7E5A97 RGB: (126,90,151)

Color info

#7E5A97 contains mainly red and blue colors. Web safe color of #7E5A97 is #666699 (or #669).

RGB color model

#7E5A97 color RGB value is (126,90,151).

RGB: (126,90,151) (49%, 35%, 59%)

RGB channels and saturation

R 126 of 255 = 49%
G 90 of 255 = 35%
B 151 of 255 = 59%

126
90
151

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

Portions of RGB colors in percentages

R + G + B = 126 + 90 + 151 = 367 (100%)
R 126 of 367 ~ 34.33%
G 90 of 367 ~ 24.52%
B 151 of 367 ~ 41.14'%

%34.33
%24.52
%41.14

CMYK color model

#7E5A97 color CMYK value is (17,40,0,41).

  • cyan value is 16.56%
  • magenta value is 40.40%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK: (17,40,0,41) C17M40Y0K41 (17%,40%,0%,41%) (0.17/0.40/0.00/0.41) 

CMYK percentages

%16.56
%40.4
%0
%40.78

Codes

Color #7E5A97 in popluar color models

7E 5A 97
RGB 126 90 151
HSL 275° 25.31% 47.25%
HSB/HSV 275° 40.40% 59.22%
CMYK 16.56% 40.40% 0.00%
40.78%

Color #7E5A97 in popluar number systems.

HEX 7E 5A 97
Decimal 126 90 151
Binary 1111110 1011010 10010111
Octal 176 132 227

Shades and tints

Shades of #7E5A97

#7E5A97
(126,90,151)
#73528A
(115,82,138)
#684A7D
(104,74,125)
#5D4270
(93,66,112)
#523A63
(82,58,99)
#473256
(71,50,86)
#3C2A49
(60,42,73)
#31223C
(49,34,60)
#261A2F
(38,26,47)
#1B1222
(27,18,34)
#100A15
(16,10,21)
#000000
(0,0,0)

Tints of #7E5A97

#7E5A97
(126,90,151)
#8969A0
(137,105,160)
#9478A9
(148,120,169)
#9F87B2
(159,135,178)
#AA96BB
(170,150,187)
#B5A5C4
(181,165,196)
#C0B4CD
(192,180,205)
#CBC3D6
(203,195,214)
#D6D2DF
(214,210,223)
#E1E1E8
(225,225,232)
#ECF0F1
(236,240,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7E5A97 color. Also use rgb(126,90,151) instead hex code.

Text Font Color

.myTextColor { color: #7E5A97; }

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

This text font color is #7E5A97.

Background Color

.myBgColor { background-color: #7E5A97; }

<div style="background-color:#7E5A97">Inner text</div>

This div background color is #7E5A97.

Border color

.myBorderColor { border: 1px solid #7E5A97; }

<div style="border:3px solid #7E5A97">Div</div>

This div border color is #7E5A97.

Opacity

.myOpacity80 { color: #7E5A97; opacity: 0.8; }

<p style="color:#7E5A97;opacity:0.8;">80%</p>

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

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

This text has shadow with #7E5A97 color.


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

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

This text has shadow with #7E5A97 primary color and red secondary color.


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

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

This text has shadow with #7E5A97 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #7E5A97.

Preview

Color preview on black background

This text has color #7E5A97 on black background.


Color preview on white background

This text has color #7E5A97 on white background.


Black color preview on #7E5A97 background

This text has black color on #7E5A97 background.


White color preview on #7E5A97 background

This text has white color on #7E5A97 background.


Related colors

Complementary color

Complementary color for #hex is #81A568.


I love getcolorcode.com

Triadic colors

1 #977E5A and #5A977E with #7E5A97 are triadic colors.

2 #975A7E and #5A7E97 with #7E5A97 are triadic colors.