COLOR #8A52A5

HEX: #8A52A5
RGB: (138,82,165)

Color info

#8A52A5 contains mainly red and blue colors. Web safe color of #8A52A5 is #996699 (or #969).

RGB color model

#8A52A5 color RGB value is (138,82,165).

  • red value is 138;
  • green value is 82;
  • blue value is 165.
RGB:
(138,82,165)
(54%,32%,65%)

RGB channels and saturation

R 138 of 255 = 54%
G 82 of 255 = 32%
B 165 of 255 = 65%

138
82
165

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

Portions of RGB colors in percentages

R + G + B =
138 + 82 + 165 = 385 (100%)
R 138 of 385 ~ 35.84%
G 82 of 385 ~ 21.3%
B 165 of 385 ~ 42.86%

%35.84
%21.3
%42.86

CMYK color model

#8A52A5 color CMYK value is (16,50,0,35).

  • cyan value is 16.36%
  • magenta value is 50.30%
  • yellow value is 0.00%
  • key color value is 35.29%
CMYK:
(16,50,0,35)
C16M50Y0K35 
(16%,50%,0%,35%)
(0.16/0.50/0.00/0.35)	

CMYK percentages

%16.36
%50.3
%0
%35.29

Codes

Color #8A52A5 in popluar color models

8A52A5
RGB13882165
HSL280°33.60%48.43%
HSB/HSV280°50.30%64.71%
CMYK16.36%50.30%0.00%
35.29%

Color #8A52A5 in popluar number systems.

HEX8A52A5
Decimal13882165
Binary10001010101001010100101
Octal212122245

Shades and tints

Shades of #8A52A5

#8A52A5
(138,82,165)
#7E4B96
(126,75,150)
#724487
(114,68,135)
#663D78
(102,61,120)
#5A3669
(90,54,105)
#4E2F5A
(78,47,90)
#42284B
(66,40,75)
#36213C
(54,33,60)
#2A1A2D
(42,26,45)
#1E131E
(30,19,30)
#120C0F
(18,12,15)
#000000
(0,0,0)

Tints of #8A52A5

#8A52A5
(138,82,165)
#9461AD
(148,97,173)
#9E70B5
(158,112,181)
#A87FBD
(168,127,189)
#B28EC5
(178,142,197)
#BC9DCD
(188,157,205)
#C6ACD5
(198,172,213)
#D0BBDD
(208,187,221)
#DACAE5
(218,202,229)
#E4D9ED
(228,217,237)
#EEE8F5
(238,232,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A52A5 color. Also use rgb(138,82,165) instead hex code.

Text Font Color

.myTextColor { color: #8A52A5; }

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

This text font color is #8A52A5.


Background Color

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

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

This div background color is #8A52A5.


Border color

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

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

This div border color is #8A52A5.


Opacity

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

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

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

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

This text has shadow with #8A52A5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A52A5 on black background.


Color preview on white background

This text has color #8A52A5 on white background.



Black color preview on #8A52A5 background

This text has black color on #8A52A5 background.


White color preview on #8A52A5 background

This text has white color on #8A52A5 background.