COLOR #9A5C97

HEX: #9A5C97 RGB: (154,92,151)

Color info

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

RGB color model

#9A5C97 color RGB value is (154,92,151).

RGB: (154,92,151) (60%, 36%, 59%)

RGB channels and saturation

R 154 of 255 = 60%
G 92 of 255 = 36%
B 151 of 255 = 59%

154
92
151

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

Portions of RGB colors in percentages

R + G + B = 154 + 92 + 151 = 397 (100%)
R 154 of 397 ~ 38.79%
G 92 of 397 ~ 23.17%
B 151 of 397 ~ 38.04'%

%38.79
%23.17
%38.04

CMYK color model

#9A5C97 color CMYK value is (0,40,2,40).

  • cyan value is 0.00%
  • magenta value is 40.26%
  • yellow value is 1.95%
  • key color value is 39.61%

CMYK: (0,40,2,40)
C0M40Y2K40 (0%, 40%, 2%, 40%)
(0.00 / 0.40 / 0.02 / 0.40)

CMYK percentages

%0
%40.26
%1.95
%39.61

Codes

Color #9A5C97 in popluar color models

9A 5C 97
RGB 154 92 151
HSL 303° 25.20% 48.24%
HSB/HSV 303° 40.26% 60.39%
CMYK 0.00% 40.26% 1.95%
39.61%

Color #9A5C97 in popluar number systems.

HEX 9A 5C 97
Decimal 154 92 151
Binary 10011010 1011100 10010111
Octal 232 134 227

Shades and tints

Shades of #9A5C97

#9A5C97
(154,92,151)
#8C548A
(140,84,138)
#7E4C7D
(126,76,125)
#704470
(112,68,112)
#623C63
(98,60,99)
#543456
(84,52,86)
#462C49
(70,44,73)
#38243C
(56,36,60)
#2A1C2F
(42,28,47)
#1C1422
(28,20,34)
#0E0C15
(14,12,21)
#000000
(0,0,0)

Tints of #9A5C97

#9A5C97
(154,92,151)
#A36AA0
(163,106,160)
#AC78A9
(172,120,169)
#B586B2
(181,134,178)
#BE94BB
(190,148,187)
#C7A2C4
(199,162,196)
#D0B0CD
(208,176,205)
#D9BED6
(217,190,214)
#E2CCDF
(226,204,223)
#EBDAE8
(235,218,232)
#F4E8F1
(244,232,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9A5C97 color. Also use rgb(154,92,151) instead hex code.

Text Font Color

.myTextColor { color: #9A5C97; }

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

This text font color is #9A5C97.

Background Color

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

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

This div background color is #9A5C97.

Border color

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

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

This div border color is #9A5C97.

Opacity

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

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

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

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

This text has shadow with #9A5C97 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #9A5C97.

Preview

Color preview on black background

This text has color #9A5C97 on black background.


Color preview on white background

This text has color #9A5C97 on white background.


Black color preview on #9A5C97 background

This text has black color on #9A5C97 background.


White color preview on #9A5C97 background

This text has white color on #9A5C97 background.


Related colors

Complementary color

Complementary color for #hex is #65A368.


I love getcolorcode.com

Triadic colors

1 #979A5C and #5C979A with #9A5C97 are triadic colors.

2 #975C9A and #5C9A97 with #9A5C97 are triadic colors.