COLOR #987DDA

HEX: #987DDA RGB: (152,125,218)

Color info

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

RGB color model

#987DDA color RGB value is (152,125,218).

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

RGB channels and saturation

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

152
125
218

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

Portions of RGB colors in percentages

R + G + B = 152 + 125 + 218 = 495 (100%)
R 152 of 495 ~ 30.71%
G 125 of 495 ~ 25.25%
B 218 of 495 ~ 44.04'%

%30.71
%25.25
%44.04

CMYK color model

#987DDA color CMYK value is (30,43,0,15).

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

CMYK: (30,43,0,15)
C30M43Y0K15 (30%, 43%, 0%, 15%)
(0.30 / 0.43 / 0.00 / 0.15)

CMYK percentages

%30.28
%42.66
%0
%14.51

Codes

Color #987DDA in popluar color models

98 7D DA
RGB 152 125 218
HSL 257° 55.69% 67.25%
HSB/HSV 257° 42.66% 85.49%
CMYK 30.28% 42.66% 0.00%
14.51%

Color #987DDA in popluar number systems.

HEX 98 7D DA
Decimal 152 125 218
Binary 10011000 1111101 11011010
Octal 230 175 332

Shades and tints

Shades of #987DDA

#987DDA
(152,125,218)
#8B72C7
(139,114,199)
#7E67B4
(126,103,180)
#715CA1
(113,92,161)
#64518E
(100,81,142)
#57467B
(87,70,123)
#4A3B68
(74,59,104)
#3D3055
(61,48,85)
#302542
(48,37,66)
#231A2F
(35,26,47)
#160F1C
(22,15,28)
#000000
(0,0,0)

Tints of #987DDA

#987DDA
(152,125,218)
#A188DD
(161,136,221)
#AA93E0
(170,147,224)
#B39EE3
(179,158,227)
#BCA9E6
(188,169,230)
#C5B4E9
(197,180,233)
#CEBFEC
(206,191,236)
#D7CAEF
(215,202,239)
#E0D5F2
(224,213,242)
#E9E0F5
(233,224,245)
#F2EBF8
(242,235,248)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #987DDA; }

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

This text font color is #987DDA.

Background Color

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

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

This div background color is #987DDA.

Border color

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

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

This div border color is #987DDA.

Opacity

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

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

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

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

This text has shadow with #987DDA color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #987DDA.

Preview

Color preview on black background

This text has color #987DDA on black background.


Color preview on white background

This text has color #987DDA on white background.


Black color preview on #987DDA background

This text has black color on #987DDA background.


White color preview on #987DDA background

This text has white color on #987DDA background.


Related colors

Complementary color

Complementary color for #hex is #678225.


I love getcolorcode.com

Triadic colors

1 #DA987D and #7DDA98 with #987DDA are triadic colors.

2 #DA7D98 and #7D98DA with #987DDA are triadic colors.