COLOR #7F5E97

HEX: #7F5E97 RGB: (127,94,151)

Color info

#7F5E97 contains red, green and blue colors in about the same proportion. Web safe color of #7F5E97 is #666699 (or #669).

RGB color model

#7F5E97 color RGB value is (127,94,151).

RGB: (127,94,151) (50%, 37%, 59%)

RGB channels and saturation

R 127 of 255 = 50%
G 94 of 255 = 37%
B 151 of 255 = 59%

127
94
151

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

Portions of RGB colors in percentages

R + G + B = 127 + 94 + 151 = 372 (100%)
R 127 of 372 ~ 34.14%
G 94 of 372 ~ 25.27%
B 151 of 372 ~ 40.59'%

%34.14
%25.27
%40.59

CMYK color model

#7F5E97 color CMYK value is (16,38,0,41).

  • cyan value is 15.89%
  • magenta value is 37.75%
  • yellow value is 0.00%
  • key color value is 40.78%
CMYK: (16,38,0,41) C16M38Y0K41 (16%,38%,0%,41%) (0.16/0.38/0.00/0.41) 

CMYK percentages

%15.89
%37.75
%0
%40.78

Codes

Color #7F5E97 in popluar color models

7F 5E 97
RGB 127 94 151
HSL 275° 23.27% 48.04%
HSB/HSV 275° 37.75% 59.22%
CMYK 15.89% 37.75% 0.00%
40.78%

Color #7F5E97 in popluar number systems.

HEX 7F 5E 97
Decimal 127 94 151
Binary 1111111 1011110 10010111
Octal 177 136 227

Shades and tints

Shades of #7F5E97

#7F5E97
(127,94,151)
#74568A
(116,86,138)
#694E7D
(105,78,125)
#5E4670
(94,70,112)
#533E63
(83,62,99)
#483656
(72,54,86)
#3D2E49
(61,46,73)
#32263C
(50,38,60)
#271E2F
(39,30,47)
#1C1622
(28,22,34)
#110E15
(17,14,21)
#000000
(0,0,0)

Tints of #7F5E97

#7F5E97
(127,94,151)
#8A6CA0
(138,108,160)
#957AA9
(149,122,169)
#A088B2
(160,136,178)
#AB96BB
(171,150,187)
#B6A4C4
(182,164,196)
#C1B2CD
(193,178,205)
#CCC0D6
(204,192,214)
#D7CEDF
(215,206,223)
#E2DCE8
(226,220,232)
#EDEAF1
(237,234,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7F5E97 color. Also use rgb(127,94,151) instead hex code.

Text Font Color

.myTextColor { color: #7F5E97; }

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

This text font color is #7F5E97.

Background Color

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

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

This div background color is #7F5E97.

Border color

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

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

This div border color is #7F5E97.

Opacity

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

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

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

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

This text has shadow with #7F5E97 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7F5E97.

Preview

Color preview on black background

This text has color #7F5E97 on black background.


Color preview on white background

This text has color #7F5E97 on white background.


Black color preview on #7F5E97 background

This text has black color on #7F5E97 background.


White color preview on #7F5E97 background

This text has white color on #7F5E97 background.


Related colors

Complementary color

Complementary color for #hex is #80A168.


I love getcolorcode.com

Triadic colors

1 #977F5E and #5E977F with #7F5E97 are triadic colors.

2 #975E7F and #5E7F97 with #7F5E97 are triadic colors.