COLOR #9D8CCA

HEX: #9D8CCA RGB: (157,140,202)

Color info

#9D8CCA contains mainly red and blue colors. Web safe color of #9D8CCA is #9999CC (or #99C).

RGB color model

#9D8CCA color RGB value is (157,140,202).

RGB: (157,140,202) (62%, 55%, 79%)

RGB channels and saturation

R 157 of 255 = 62%
G 140 of 255 = 55%
B 202 of 255 = 79%

157
140
202

R + G + B ~ 65%. #9D8CCA is quite light color.

Portions of RGB colors in percentages

R + G + B = 157 + 140 + 202 = 499 (100%)
R 157 of 499 ~ 31.46%
G 140 of 499 ~ 28.06%
B 202 of 499 ~ 40.48'%

%31.46
%28.06
%40.48

CMYK color model

#9D8CCA color CMYK value is (22,31,0,21).

  • cyan value is 22.28%
  • magenta value is 30.69%
  • yellow value is 0.00%
  • key color value is 20.78%

CMYK: (22,31,0,21)
C22M31Y0K21 (22%, 31%, 0%, 21%)
(0.22 / 0.31 / 0.00 / 0.21)

CMYK percentages

%22.28
%30.69
%0
%20.78

Codes

Color #9D8CCA in popluar color models

9D 8C CA
RGB 157 140 202
HSL 256° 36.90% 67.06%
HSB/HSV 256° 30.69% 79.22%
CMYK 22.28% 30.69% 0.00%
20.78%

Color #9D8CCA in popluar number systems.

HEX 9D 8C CA
Decimal 157 140 202
Binary 10011101 10001100 11001010
Octal 235 214 312

Shades and tints

Shades of #9D8CCA

#9D8CCA
(157,140,202)
#8F80B8
(143,128,184)
#8174A6
(129,116,166)
#736894
(115,104,148)
#655C82
(101,92,130)
#575070
(87,80,112)
#49445E
(73,68,94)
#3B384C
(59,56,76)
#2D2C3A
(45,44,58)
#1F2028
(31,32,40)
#111416
(17,20,22)
#000000
(0,0,0)

Tints of #9D8CCA

#9D8CCA
(157,140,202)
#A596CE
(165,150,206)
#ADA0D2
(173,160,210)
#B5AAD6
(181,170,214)
#BDB4DA
(189,180,218)
#C5BEDE
(197,190,222)
#CDC8E2
(205,200,226)
#D5D2E6
(213,210,230)
#DDDCEA
(221,220,234)
#E5E6EE
(229,230,238)
#EDF0F2
(237,240,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D8CCA color. Also use rgb(157,140,202) instead hex code.

Text Font Color

.myTextColor { color: #9D8CCA; }

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

This text font color is #9D8CCA.

Background Color

.myBgColor { background-color: #9D8CCA; }

<div style="background-color:#9D8CCA">Inner text</div>

This div background color is #9D8CCA.

Border color

.myBorderColor { border: 1px solid #9D8CCA; }

<div style="border:3px solid #9D8CCA">Div</div>

This div border color is #9D8CCA.

Opacity

.myOpacity80 { color: #9D8CCA; opacity: 0.8; }

<p style="color:#9D8CCA;opacity:0.8;">80%</p>

Text with #9D8CCA 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 #9D8CCA;}

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

This text has shadow with #9D8CCA color.


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

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

This text has shadow with #9D8CCA primary color and red secondary color.


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

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

This text has shadow with #9D8CCA and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #9D8CCA.

Preview

Color preview on black background

This text has color #9D8CCA on black background.


Color preview on white background

This text has color #9D8CCA on white background.


Black color preview on #9D8CCA background

This text has black color on #9D8CCA background.


White color preview on #9D8CCA background

This text has white color on #9D8CCA background.


Related colors

Complementary color

Complementary color for #hex is #627335.


I love getcolorcode.com

Triadic colors

1 #CA9D8C and #8CCA9D with #9D8CCA are triadic colors.

2 #CA8C9D and #8C9DCA with #9D8CCA are triadic colors.