COLOR #9D5E97

HEX: #9D5E97 RGB: (157,94,151)

Color info

#9D5E97 contains mainly red and blue colors. Web safe color of #9D5E97 is #996699 (or #969).

RGB color model

#9D5E97 color RGB value is (157,94,151).

RGB: (157,94,151) (62%, 37%, 59%)

RGB channels and saturation

R 157 of 255 = 62%
G 94 of 255 = 37%
B 151 of 255 = 59%

157
94
151

R + G + B ~ 53%. #9D5E97 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 157 + 94 + 151 = 402 (100%)
R 157 of 402 ~ 39.05%
G 94 of 402 ~ 23.38%
B 151 of 402 ~ 37.56'%

%39.05
%23.38
%37.56

CMYK color model

#9D5E97 color CMYK value is (0,40,4,38).

  • cyan value is 0.00%
  • magenta value is 40.13%
  • yellow value is 3.82%
  • key color value is 38.43%
CMYK: (0,40,4,38) C0M40Y4K38 (0%,40%,4%,38%) (0.00/0.40/0.04/0.38) 

CMYK percentages

%0
%40.13
%3.82
%38.43

Codes

Color #9D5E97 in popluar color models

9D 5E 97
RGB 157 94 151
HSL 306° 25.10% 49.22%
HSB/HSV 306° 40.13% 61.57%
CMYK 0.00% 40.13% 3.82%
38.43%

Color #9D5E97 in popluar number systems.

HEX 9D 5E 97
Decimal 157 94 151
Binary 10011101 1011110 10010111
Octal 235 136 227

Shades and tints

Shades of #9D5E97

#9D5E97
(157,94,151)
#8F568A
(143,86,138)
#814E7D
(129,78,125)
#734670
(115,70,112)
#653E63
(101,62,99)
#573656
(87,54,86)
#492E49
(73,46,73)
#3B263C
(59,38,60)
#2D1E2F
(45,30,47)
#1F1622
(31,22,34)
#110E15
(17,14,21)
#000000
(0,0,0)

Tints of #9D5E97

#9D5E97
(157,94,151)
#A56CA0
(165,108,160)
#AD7AA9
(173,122,169)
#B588B2
(181,136,178)
#BD96BB
(189,150,187)
#C5A4C4
(197,164,196)
#CDB2CD
(205,178,205)
#D5C0D6
(213,192,214)
#DDCEDF
(221,206,223)
#E5DCE8
(229,220,232)
#EDEAF1
(237,234,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D5E97 color. Also use rgb(157,94,151) instead hex code.

Text Font Color

.myTextColor { color: #9D5E97; }

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

This text font color is #9D5E97.

Background Color

.myBgColor { background-color: #9D5E97; }

<div style="background-color:#9D5E97">Inner text</div>

This div background color is #9D5E97.

Border color

.myBorderColor { border: 1px solid #9D5E97; }

<div style="border:3px solid #9D5E97">Div</div>

This div border color is #9D5E97.

Opacity

.myOpacity80 { color: #9D5E97; opacity: 0.8; }

<p style="color:#9D5E97;opacity:0.8;">80%</p>

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

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

This text has shadow with #9D5E97 color.


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

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

This text has shadow with #9D5E97 primary color and red secondary color.


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

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

This text has shadow with #9D5E97 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #9D5E97.

Preview

Color preview on black background

This text has color #9D5E97 on black background.


Color preview on white background

This text has color #9D5E97 on white background.


Black color preview on #9D5E97 background

This text has black color on #9D5E97 background.


White color preview on #9D5E97 background

This text has white color on #9D5E97 background.


Related colors

Complementary color

Complementary color for #hex is #62A168.


I love getcolorcode.com

Triadic colors

1 #979D5E and #5E979D with #9D5E97 are triadic colors.

2 #975E9D and #5E9D97 with #9D5E97 are triadic colors.