COLOR #987EDA

HEX: #987EDA RGB: (152,126,218)

Color info

#987EDA contains mainly blue color. Web safe color of #987EDA is #9966CC (or #96C).

RGB color model

#987EDA color RGB value is (152,126,218).

RGB: (152,126,218) (60%, 49%, 85%)

RGB channels and saturation

R 152 of 255 = 60%
G 126 of 255 = 49%
B 218 of 255 = 85%

152
126
218

R + G + B ~ 65%. #987EDA is quite light color.

Portions of RGB colors in percentages

R + G + B = 152 + 126 + 218 = 496 (100%)
R 152 of 496 ~ 30.65%
G 126 of 496 ~ 25.4%
B 218 of 496 ~ 43.95'%

%30.65
%25.4
%43.95

CMYK color model

#987EDA color CMYK value is (30,42,0,15).

  • cyan value is 30.28%
  • magenta value is 42.20%
  • yellow value is 0.00%
  • key color value is 14.51%

CMYK: (30,42,0,15)
C30M42Y0K15 (30%, 42%, 0%, 15%)
(0.30 / 0.42 / 0.00 / 0.15)

CMYK percentages

%30.28
%42.2
%0
%14.51

Codes

Color #987EDA in popluar color models

98 7E DA
RGB 152 126 218
HSL 257° 55.42% 67.45%
HSB/HSV 257° 42.20% 85.49%
CMYK 30.28% 42.20% 0.00%
14.51%

Color #987EDA in popluar number systems.

HEX 98 7E DA
Decimal 152 126 218
Binary 10011000 1111110 11011010
Octal 230 176 332

Shades and tints

Shades of #987EDA

#987EDA
(152,126,218)
#8B73C7
(139,115,199)
#7E68B4
(126,104,180)
#715DA1
(113,93,161)
#64528E
(100,82,142)
#57477B
(87,71,123)
#4A3C68
(74,60,104)
#3D3155
(61,49,85)
#302642
(48,38,66)
#231B2F
(35,27,47)
#16101C
(22,16,28)
#000000
(0,0,0)

Tints of #987EDA

#987EDA
(152,126,218)
#A189DD
(161,137,221)
#AA94E0
(170,148,224)
#B39FE3
(179,159,227)
#BCAAE6
(188,170,230)
#C5B5E9
(197,181,233)
#CEC0EC
(206,192,236)
#D7CBEF
(215,203,239)
#E0D6F2
(224,214,242)
#E9E1F5
(233,225,245)
#F2ECF8
(242,236,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987EDA; }

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

This text font color is #987EDA.

Background Color

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

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

This div background color is #987EDA.

Border color

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

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

This div border color is #987EDA.

Opacity

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

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

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

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

This text has shadow with #987EDA color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987EDA.

Preview

Color preview on black background

This text has color #987EDA on black background.


Color preview on white background

This text has color #987EDA on white background.


Black color preview on #987EDA background

This text has black color on #987EDA background.


White color preview on #987EDA background

This text has white color on #987EDA background.


Related colors

Complementary color

Complementary color for #987EDA is #678125.


I love getcolorcode.com

Triadic colors

1 #DA987E and #7EDA98 with #987EDA are triadic colors.

2 #DA7E98 and #7E98DA with #987EDA are triadic colors.