COLOR #8A2BE2

HEX: #8A2BE2
RGB: (138,43,226)

Color info

Color name is BlueViolet. #8A2BE2 contains mainly blue color. Web safe color of #8A2BE2 is #9933CC (or #93C).

RGB color model

#8A2BE2 color RGB value is (138,43,226).

  • red value is 138;
  • green value is 43;
  • blue value is 226.
RGB:
(138,43,226)
(54%,17%,89%)

RGB channels and saturation

R 138 of 255 = 54%
G 43 of 255 = 17%
B 226 of 255 = 89%

138
43
226

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

Portions of RGB colors in percentages

R + G + B =
138 + 43 + 226 = 407 (100%)
R 138 of 407 ~ 33.91%
G 43 of 407 ~ 10.57%
B 226 of 407 ~ 55.53%

%33.91
%10.57
%55.53

CMYK color model

#8A2BE2 color CMYK value is (39,81,0,11).

  • cyan value is 38.94%
  • magenta value is 80.97%
  • yellow value is 0.00%
  • key color value is 11.37%
CMYK:
(39,81,0,11)
C39M81Y0K11 
(39%,81%,0%,11%)
(0.39/0.81/0.00/0.11)	

CMYK percentages

%38.94
%80.97
%0
%11.37

Codes

Color #8A2BE2 in popluar color models

8A2BE2
RGB13843226
HSL271°75.93%52.75%
HSB/HSV271°80.97%88.63%
CMYK38.94%80.97%0.00%
11.37%

Color #8A2BE2 in popluar number systems.

HEX8A2BE2
Decimal13843226
Binary1000101010101111100010
Octal21253342

Shades and tints

Shades of #8A2BE2

#8A2BE2
(138,43,226)
#7E28CE
(126,40,206)
#7225BA
(114,37,186)
#6622A6
(102,34,166)
#5A1F92
(90,31,146)
#4E1C7E
(78,28,126)
#42196A
(66,25,106)
#361656
(54,22,86)
#2A1342
(42,19,66)
#1E102E
(30,16,46)
#120D1A
(18,13,26)
#000000
(0,0,0)

Tints of #8A2BE2

#8A2BE2
(138,43,226)
#943EE4
(148,62,228)
#9E51E6
(158,81,230)
#A864E8
(168,100,232)
#B277EA
(178,119,234)
#BC8AEC
(188,138,236)
#C69DEE
(198,157,238)
#D0B0F0
(208,176,240)
#DAC3F2
(218,195,242)
#E4D6F4
(228,214,244)
#EEE9F6
(238,233,246)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8A2BE2 color. Also use rgb(138,43,226) instead hex code.

Text Font Color

.myTextColor { color: #8A2BE2; }

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

This text font color is #8A2BE2.


Background Color

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

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

This div background color is #8A2BE2.


Border color

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

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

This div border color is #8A2BE2.


Opacity

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

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

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

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

This text has shadow with #8A2BE2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #8A2BE2 on black background.


Color preview on white background

This text has color #8A2BE2 on white background.



Black color preview on #8A2BE2 background

This text has black color on #8A2BE2 background.


White color preview on #8A2BE2 background

This text has white color on #8A2BE2 background.