COLOR #8E21B9

HEX: #8E21B9 RGB: (142,33,185)

Color info

#8E21B9 contains mainly red and blue colors. Web safe color of #8E21B9 is #9933CC (or #93C).

RGB color model

#8E21B9 color RGB value is (142,33,185).

RGB: (142,33,185) (56%, 13%, 73%)

RGB channels and saturation

R 142 of 255 = 56%
G 33 of 255 = 13%
B 185 of 255 = 73%

142
33
185

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

Portions of RGB colors in percentages

R + G + B = 142 + 33 + 185 = 360 (100%)
R 142 of 360 ~ 39.44%
G 33 of 360 ~ 9.17%
B 185 of 360 ~ 51.39'%

%39.44
%51.39

CMYK color model

#8E21B9 color CMYK value is (23,82,0,27).

  • cyan value is 23.24%
  • magenta value is 82.16%
  • yellow value is 0.00%
  • key color value is 27.45%

CMYK: (23,82,0,27)
C23M82Y0K27 (23%, 82%, 0%, 27%)
(0.23 / 0.82 / 0.00 / 0.27)

CMYK percentages

%23.24
%82.16
%0
%27.45

Codes

Color #8E21B9 in popluar color models

8E 21 B9
RGB 142 33 185
HSL 283° 69.72% 42.75%
HSB/HSV 283° 82.16% 72.55%
CMYK 23.24% 82.16% 0.00%
27.45%

Color #8E21B9 in popluar number systems.

HEX 8E 21 B9
Decimal 142 33 185
Binary 10001110 100001 10111001
Octal 216 41 271

Shades and tints

Shades of #8E21B9

#8E21B9
(142,33,185)
#821EA9
(130,30,169)
#761B99
(118,27,153)
#6A1889
(106,24,137)
#5E1579
(94,21,121)
#521269
(82,18,105)
#460F59
(70,15,89)
#3A0C49
(58,12,73)
#2E0939
(46,9,57)
#220629
(34,6,41)
#160319
(22,3,25)
#000000
(0,0,0)

Tints of #8E21B9

#8E21B9
(142,33,185)
#9835BF
(152,53,191)
#A249C5
(162,73,197)
#AC5DCB
(172,93,203)
#B671D1
(182,113,209)
#C085D7
(192,133,215)
#CA99DD
(202,153,221)
#D4ADE3
(212,173,227)
#DEC1E9
(222,193,233)
#E8D5EF
(232,213,239)
#F2E9F5
(242,233,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8E21B9 color. Also use rgb(142,33,185) instead hex code.

Text Font Color

.myTextColor { color: #8E21B9; }

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

This text font color is #8E21B9.

Background Color

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

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

This div background color is #8E21B9.

Border color

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

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

This div border color is #8E21B9.

Opacity

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

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

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

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

This text has shadow with #8E21B9 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #8E21B9.

Preview

Color preview on black background

This text has color #8E21B9 on black background.


Color preview on white background

This text has color #8E21B9 on white background.


Black color preview on #8E21B9 background

This text has black color on #8E21B9 background.


White color preview on #8E21B9 background

This text has white color on #8E21B9 background.


Related colors

Complementary color

Complementary color for #8E21B9 is #71DE46.


I love getcolorcode.com

Triadic colors

1 #B98E21 and #21B98E with #8E21B9 are triadic colors.

2 #B9218E and #218EB9 with #8E21B9 are triadic colors.