COLOR #9871AA

HEX: #9871AA RGB: (152,113,170)

Color info

#9871AA contains red, green and blue colors in about the same proportion. Web safe color of #9871AA is #996699 (or #969).

RGB color model

#9871AA color RGB value is (152,113,170).

RGB: (152,113,170) (60%, 44%, 67%)

RGB channels and saturation

R 152 of 255 = 60%
G 113 of 255 = 44%
B 170 of 255 = 67%

152
113
170

R + G + B ~ 57%. #9871AA is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 152 + 113 + 170 = 435 (100%)
R 152 of 435 ~ 34.94%
G 113 of 435 ~ 25.98%
B 170 of 435 ~ 39.08'%

%34.94
%25.98
%39.08

CMYK color model

#9871AA color CMYK value is (11,34,0,33).

  • cyan value is 10.59%
  • magenta value is 33.53%
  • yellow value is 0.00%
  • key color value is 33.33%
CMYK: (11,34,0,33) C11M34Y0K33 (11%,34%,0%,33%) (0.11/0.34/0.00/0.33) 

CMYK percentages

%10.59
%33.53
%0
%33.33

Codes

Color #9871AA in popluar color models

98 71 AA
RGB 152 113 170
HSL 281° 25.11% 55.49%
HSB/HSV 281° 33.53% 66.67%
CMYK 10.59% 33.53% 0.00%
33.33%

Color #9871AA in popluar number systems.

HEX 98 71 AA
Decimal 152 113 170
Binary 10011000 1110001 10101010
Octal 230 161 252

Shades and tints

Shades of #9871AA

#9871AA
(152,113,170)
#8B679B
(139,103,155)
#7E5D8C
(126,93,140)
#71537D
(113,83,125)
#64496E
(100,73,110)
#573F5F
(87,63,95)
#4A3550
(74,53,80)
#3D2B41
(61,43,65)
#302132
(48,33,50)
#231723
(35,23,35)
#160D14
(22,13,20)
#000000
(0,0,0)

Tints of #9871AA

#9871AA
(152,113,170)
#A17DB1
(161,125,177)
#AA89B8
(170,137,184)
#B395BF
(179,149,191)
#BCA1C6
(188,161,198)
#C5ADCD
(197,173,205)
#CEB9D4
(206,185,212)
#D7C5DB
(215,197,219)
#E0D1E2
(224,209,226)
#E9DDE9
(233,221,233)
#F2E9F0
(242,233,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9871AA color. Also use rgb(152,113,170) instead hex code.

Text Font Color

.myTextColor { color: #9871AA; }

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

This text font color is #9871AA.

Background Color

.myBgColor { background-color: #9871AA; }

<div style="background-color:#9871AA">Inner text</div>

This div background color is #9871AA.

Border color

.myBorderColor { border: 1px solid #9871AA; }

<div style="border:3px solid #9871AA">Div</div>

This div border color is #9871AA.

Opacity

.myOpacity80 { color: #9871AA; opacity: 0.8; }

<p style="color:#9871AA;opacity:0.8;">80%</p>

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

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

This text has shadow with #9871AA color.


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

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

This text has shadow with #9871AA primary color and red secondary color.


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

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

This text has shadow with #9871AA and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #9871AA.

Preview

Color preview on black background

This text has color #9871AA on black background.


Color preview on white background

This text has color #9871AA on white background.


Black color preview on #9871AA background

This text has black color on #9871AA background.


White color preview on #9871AA background

This text has white color on #9871AA background.


Related colors

Complementary color

Complementary color for #hex is #678E55.


I love getcolorcode.com

Triadic colors

1 #AA9871 and #71AA98 with #9871AA are triadic colors.

2 #AA7198 and #7198AA with #9871AA are triadic colors.