COLOR #987AB1

HEX: #987AB1 RGB: (152,122,177)

Color info

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

RGB color model

#987AB1 color RGB value is (152,122,177).

RGB: (152,122,177) (60%, 48%, 69%)

RGB channels and saturation

R 152 of 255 = 60%
G 122 of 255 = 48%
B 177 of 255 = 69%

152
122
177

R + G + B ~ 59%. #987AB1 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 152 + 122 + 177 = 451 (100%)
R 152 of 451 ~ 33.7%
G 122 of 451 ~ 27.05%
B 177 of 451 ~ 39.25'%

%33.7
%27.05
%39.25

CMYK color model

#987AB1 color CMYK value is (14,31,0,31).

  • cyan value is 14.12%
  • magenta value is 31.07%
  • yellow value is 0.00%
  • key color value is 30.59%
CMYK: (14,31,0,31) C14M31Y0K31 (14%,31%,0%,31%) (0.14/0.31/0.00/0.31) 

CMYK percentages

%14.12
%31.07
%0
%30.59

Codes

Color #987AB1 in popluar color models

98 7A B1
RGB 152 122 177
HSL 273° 26.07% 58.63%
HSB/HSV 273° 31.07% 69.41%
CMYK 14.12% 31.07% 0.00%
30.59%

Color #987AB1 in popluar number systems.

HEX 98 7A B1
Decimal 152 122 177
Binary 10011000 1111010 10110001
Octal 230 172 261

Shades and tints

Shades of #987AB1

#987AB1
(152,122,177)
#8B6FA1
(139,111,161)
#7E6491
(126,100,145)
#715981
(113,89,129)
#644E71
(100,78,113)
#574361
(87,67,97)
#4A3851
(74,56,81)
#3D2D41
(61,45,65)
#302231
(48,34,49)
#231721
(35,23,33)
#160C11
(22,12,17)
#000000
(0,0,0)

Tints of #987AB1

#987AB1
(152,122,177)
#A186B8
(161,134,184)
#AA92BF
(170,146,191)
#B39EC6
(179,158,198)
#BCAACD
(188,170,205)
#C5B6D4
(197,182,212)
#CEC2DB
(206,194,219)
#D7CEE2
(215,206,226)
#E0DAE9
(224,218,233)
#E9E6F0
(233,230,240)
#F2F2F7
(242,242,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987AB1 color. Also use rgb(152,122,177) instead hex code.

Text Font Color

.myTextColor { color: #987AB1; }

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

This text font color is #987AB1.

Background Color

.myBgColor { background-color: #987AB1; }

<div style="background-color:#987AB1">Inner text</div>

This div background color is #987AB1.

Border color

.myBorderColor { border: 1px solid #987AB1; }

<div style="border:3px solid #987AB1">Div</div>

This div border color is #987AB1.

Opacity

.myOpacity80 { color: #987AB1; opacity: 0.8; }

<p style="color:#987AB1;opacity:0.8;">80%</p>

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

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

This text has shadow with #987AB1 color.


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

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

This text has shadow with #987AB1 primary color and red secondary color.


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

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

This text has shadow with #987AB1 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #987AB1.

Preview

Color preview on black background

This text has color #987AB1 on black background.


Color preview on white background

This text has color #987AB1 on white background.


Black color preview on #987AB1 background

This text has black color on #987AB1 background.


White color preview on #987AB1 background

This text has white color on #987AB1 background.


Related colors

Complementary color

Complementary color for #hex is #67854E.


I love getcolorcode.com

Triadic colors

1 #B1987A and #7AB198 with #987AB1 are triadic colors.

2 #B17A98 and #7A98B1 with #987AB1 are triadic colors.