COLOR #987ECA

HEX: #987ECA RGB: (152,126,202)

Color info

#987ECA contains mainly red and blue colors. Web safe color of #987ECA is #9966CC (or #96C).

RGB color model

#987ECA color RGB value is (152,126,202).

RGB: (152,126,202) (60%, 49%, 79%)

RGB channels and saturation

R 152 of 255 = 60%
G 126 of 255 = 49%
B 202 of 255 = 79%

152
126
202

R + G + B ~ 63%. #987ECA is quite light color.

Portions of RGB colors in percentages

R + G + B = 152 + 126 + 202 = 480 (100%)
R 152 of 480 ~ 31.67%
G 126 of 480 ~ 26.25%
B 202 of 480 ~ 42.08'%

%31.67
%26.25
%42.08

CMYK color model

#987ECA color CMYK value is (25,38,0,21).

  • cyan value is 24.75%
  • magenta value is 37.62%
  • yellow value is 0.00%
  • key color value is 20.78%

CMYK: (25,38,0,21)
C25M38Y0K21 (25%, 38%, 0%, 21%)
(0.25 / 0.38 / 0.00 / 0.21)

CMYK percentages

%24.75
%37.62
%0
%20.78

Codes

Color #987ECA in popluar color models

98 7E CA
RGB 152 126 202
HSL 261° 41.76% 64.31%
HSB/HSV 261° 37.62% 79.22%
CMYK 24.75% 37.62% 0.00%
20.78%

Color #987ECA in popluar number systems.

HEX 98 7E CA
Decimal 152 126 202
Binary 10011000 1111110 11001010
Octal 230 176 312

Shades and tints

Shades of #987ECA

#987ECA
(152,126,202)
#8B73B8
(139,115,184)
#7E68A6
(126,104,166)
#715D94
(113,93,148)
#645282
(100,82,130)
#574770
(87,71,112)
#4A3C5E
(74,60,94)
#3D314C
(61,49,76)
#30263A
(48,38,58)
#231B28
(35,27,40)
#161016
(22,16,22)
#000000
(0,0,0)

Tints of #987ECA

#987ECA
(152,126,202)
#A189CE
(161,137,206)
#AA94D2
(170,148,210)
#B39FD6
(179,159,214)
#BCAADA
(188,170,218)
#C5B5DE
(197,181,222)
#CEC0E2
(206,192,226)
#D7CBE6
(215,203,230)
#E0D6EA
(224,214,234)
#E9E1EE
(233,225,238)
#F2ECF2
(242,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #987ECA color. Also use rgb(152,126,202) instead hex code.

Text Font Color

.myTextColor { color: #987ECA; }

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

This text font color is #987ECA.

Background Color

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

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

This div background color is #987ECA.

Border color

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

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

This div border color is #987ECA.

Opacity

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

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

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

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

This text has shadow with #987ECA color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987ECA.

Preview

Color preview on black background

This text has color #987ECA on black background.


Color preview on white background

This text has color #987ECA on white background.


Black color preview on #987ECA background

This text has black color on #987ECA background.


White color preview on #987ECA background

This text has white color on #987ECA background.


Related colors

Complementary color

Complementary color for #hex is #678135.


I love getcolorcode.com

Triadic colors

1 #CA987E and #7ECA98 with #987ECA are triadic colors.

2 #CA7E98 and #7E98CA with #987ECA are triadic colors.