COLOR #8A7DB3

HEX: #8A7DB3 RGB: (138,125,179)

Color info

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

RGB color model

#8A7DB3 color RGB value is (138,125,179).

RGB: (138,125,179) (54%, 49%, 70%)

RGB channels and saturation

R 138 of 255 = 54%
G 125 of 255 = 49%
B 179 of 255 = 70%

138
125
179

R + G + B ~ 58%. #8A7DB3 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 138 + 125 + 179 = 442 (100%)
R 138 of 442 ~ 31.22%
G 125 of 442 ~ 28.28%
B 179 of 442 ~ 40.5'%

%31.22
%28.28
%40.5

CMYK color model

#8A7DB3 color CMYK value is (23,30,0,30).

  • cyan value is 22.91%
  • magenta value is 30.17%
  • yellow value is 0.00%
  • key color value is 29.80%

CMYK: (23,30,0,30)
C23M30Y0K30 (23%, 30%, 0%, 30%)
(0.23 / 0.30 / 0.00 / 0.30)

CMYK percentages

%22.91
%30.17
%0
%29.8

Codes

Color #8A7DB3 in popluar color models

8A 7D B3
RGB 138 125 179
HSL 254° 26.21% 59.61%
HSB/HSV 254° 30.17% 70.20%
CMYK 22.91% 30.17% 0.00%
29.80%

Color #8A7DB3 in popluar number systems.

HEX 8A 7D B3
Decimal 138 125 179
Binary 10001010 1111101 10110011
Octal 212 175 263

Shades and tints

Shades of #8A7DB3

#8A7DB3
(138,125,179)
#7E72A3
(126,114,163)
#726793
(114,103,147)
#665C83
(102,92,131)
#5A5173
(90,81,115)
#4E4663
(78,70,99)
#423B53
(66,59,83)
#363043
(54,48,67)
#2A2533
(42,37,51)
#1E1A23
(30,26,35)
#120F13
(18,15,19)
#000000
(0,0,0)

Tints of #8A7DB3

#8A7DB3
(138,125,179)
#9488B9
(148,136,185)
#9E93BF
(158,147,191)
#A89EC5
(168,158,197)
#B2A9CB
(178,169,203)
#BCB4D1
(188,180,209)
#C6BFD7
(198,191,215)
#D0CADD
(208,202,221)
#DAD5E3
(218,213,227)
#E4E0E9
(228,224,233)
#EEEBEF
(238,235,239)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A7DB3 color. Also use rgb(138,125,179) instead hex code.

Text Font Color

.myTextColor { color: #8A7DB3; }

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

This text font color is #8A7DB3.

Background Color

.myBgColor { background-color: #8A7DB3; }

<div style="background-color:#8A7DB3">Inner text</div>

This div background color is #8A7DB3.

Border color

.myBorderColor { border: 1px solid #8A7DB3; }

<div style="border:3px solid #8A7DB3">Div</div>

This div border color is #8A7DB3.

Opacity

.myOpacity80 { color: #8A7DB3; opacity: 0.8; }

<p style="color:#8A7DB3;opacity:0.8;">80%</p>

Text with #8A7DB3 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 #8A7DB3;}

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

This text has shadow with #8A7DB3 color.


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

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

This text has shadow with #8A7DB3 primary color and red secondary color.


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

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

This text has shadow with #8A7DB3 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #8A7DB3.

Preview

Color preview on black background

This text has color #8A7DB3 on black background.


Color preview on white background

This text has color #8A7DB3 on white background.


Black color preview on #8A7DB3 background

This text has black color on #8A7DB3 background.


White color preview on #8A7DB3 background

This text has white color on #8A7DB3 background.


Related colors

Complementary color

Complementary color for #hex is #75824C.


I love getcolorcode.com

Triadic colors

1 #B38A7D and #7DB38A with #8A7DB3 are triadic colors.

2 #B37D8A and #7D8AB3 with #8A7DB3 are triadic colors.