COLOR #8A5FA1

HEX: #8A5FA1
RGB: (138,95,161)

Color info

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

RGB color model

#8A5FA1 color RGB value is (138,95,161).

  • red value is 138;
  • green value is 95;
  • blue value is 161.
RGB:
(138,95,161)
(54%,37%,63%)

RGB channels and saturation

R 138 of 255 = 54%
G 95 of 255 = 37%
B 161 of 255 = 63%

138
95
161

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

Portions of RGB colors in percentages

R + G + B =
138 + 95 + 161 = 394 (100%)
R 138 of 394 ~ 35.03%
G 95 of 394 ~ 24.11%
B 161 of 394 ~ 40.86%

%35.03
%24.11
%40.86

CMYK color model

#8A5FA1 color CMYK value is (14,41,0,37).

  • cyan value is 14.29%
  • magenta value is 40.99%
  • yellow value is 0.00%
  • key color value is 36.86%
CMYK:
(14,41,0,37)
C14M41Y0K37 
(14%,41%,0%,37%)
(0.14/0.41/0.00/0.37)	

CMYK percentages

%14.29
%40.99
%0
%36.86

Codes

Color #8A5FA1 in popluar color models

8A5FA1
RGB13895161
HSL279°25.98%50.20%
HSB/HSV279°40.99%63.14%
CMYK14.29%40.99%0.00%
36.86%

Color #8A5FA1 in popluar number systems.

HEX8A5FA1
Decimal13895161
Binary10001010101111110100001
Octal212137241

Shades and tints

Shades of #8A5FA1

#8A5FA1
(138,95,161)
#7E5793
(126,87,147)
#724F85
(114,79,133)
#664777
(102,71,119)
#5A3F69
(90,63,105)
#4E375B
(78,55,91)
#422F4D
(66,47,77)
#36273F
(54,39,63)
#2A1F31
(42,31,49)
#1E1723
(30,23,35)
#120F15
(18,15,21)
#000000
(0,0,0)

Tints of #8A5FA1

#8A5FA1
(138,95,161)
#946DA9
(148,109,169)
#9E7BB1
(158,123,177)
#A889B9
(168,137,185)
#B297C1
(178,151,193)
#BCA5C9
(188,165,201)
#C6B3D1
(198,179,209)
#D0C1D9
(208,193,217)
#DACFE1
(218,207,225)
#E4DDE9
(228,221,233)
#EEEBF1
(238,235,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A5FA1 color. Also use rgb(138,95,161) instead hex code.

Text Font Color

.myTextColor { color: #8A5FA1; }

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

This text font color is #8A5FA1.


Background Color

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

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

This div background color is #8A5FA1.


Border color

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

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

This div border color is #8A5FA1.


Opacity

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

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

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

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

This text has shadow with #8A5FA1 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A5FA1 on black background.


Color preview on white background

This text has color #8A5FA1 on white background.



Black color preview on #8A5FA1 background

This text has black color on #8A5FA1 background.


White color preview on #8A5FA1 background

This text has white color on #8A5FA1 background.