:
logo qtransform

  to  




#8A40B6 color HEX code RGB, HSL, CMYK

COLOR CODE FOR HEXA COLOR #8A40B6
#8A40B6

   In a RGB color space, hex #8A40B6 is composed of 54% red, 25% green and 71% blue.
RGB color code is composed of a hexadecimal 8A red (138/255), a 40 green (64/255) and a B6 blue component (182/255). The decimal RGB color code is rgb(138,64,182)
In CMYK color space, it is composed of 24% cyan, 65% magenta, 0% yellow and 29% black.
It has a hue angle of 277.63o degrees, a saturation of 48% and a lightness of 48%.
Closest websafe color is: #9933cc rgb (153, 51, 204).
twitter  facebook  whatsapp


Color conversion




#8A40B6
rgb(138,64,182)
=54%
from 255
25%
from 255
71%
from 255
=24
from 100
65
from 100
0
from 100
29
from 100
R: 138
red
G: 64
green
B: 182
blue
C: 24
cyan
M: 65
magenta
Y: 0
yellow
K: 29
black
Hexa colorRGB color chartCMYK color chart

Convert color


The hexadecimal color #8A40B6 has RGB values of R:138, G:64, B:182 and CMYK values of C:24, M:65, Y:0, K:29. Its decimal value is 9060534.Binary code is 100010100100000010110110
In print we use cyan, yellow, magenta and black (CMYK) inks because usually we print on a white paper.

Hex color8A40B6 #8A40B6
RGB decimal138, 64, 182 rgb(138, 64, 182)
RGB %54, 25, 71 rgb(54%, 25%, 71%)
RGB Adobe122, 66, 177
CMYK %24, 65, 0, 29 24%, 65%, 0%, 29%
HSL277.63o, 48, 48 hsl(277.63o, 48%, 48%)
HSV (HSB)278o, 65%, 71% hsv(278o, 65%, 71%)
Web Safe color#9933cc rgb (153, 51, 204)
XYZ20.758, 12.447 45.564
xyY0.26, 0.16, 12.45
Hunter-Lab35.28, 45.89, -55.86
CMY46%, 75%, 29%
Lab41.48, 46.98, -50.1
Binary color
8A 40 B6
10001010 1000000 10110110

Shades and tints of #8A40B6


A shade is achieved by adding black to original color on hue code.
A tint is created by mixing color with white.
Use the palette to pick a color or the sliders to set the RGB, HSV, CMYK components.
For example here: #1A0C25 is the darkest color, and: #E9DAF1 is the lightest one.

Tint color variation #8A40B6


Shade color variation


Tones of #8A40B6
A tone is produced by adding gray to any pure hue. In this case, #8946B1 is the less saturated color, and #856A93 is the most saturated one.


Alternatives to #8A40B6


Below, you can see some colors close to #8A40B6. Having a set of related colors can be useful if you need an inspirational alternative or other close colors to your original color choice.




Quick use #8A40B6


How to use this color on webpages, scripts or other programming languages using html, CSS, dhtml, JAVA, .NET, openGL, Swift, Xojo

Color of the text Background color example
Color of the text
Background color example

<font color="#8A40B6;">Text here</font>

<div style="background-color:#8A40B6;">Text here</div>



Color preview on black background Color preview on white background
color preview on black background
color preview on white background
HTML code

<div style="background-color:#000000"> <font color="#8A40B6;">Text here</font> </div>

HTML code

<div style="background-color:#FFFFFF; border: 1px dotted #999999;"> <font color="#8A40B6;">Text here</font> </div>



Div box shadow Text shadow css code
box shadow for color #8A40B6
text shadow css code
HTML code

<div style="background-color:#FFFFFF; box-shadow: 2px 2px 7px 1px #8A40B6;"></div>

CSS code

.box-shadow: 2px 2px 7px 1px;

CSS code

.text-shadow: 1px 2px 2px #8A40B6;



Box border html code Text shadow with RGB values for color #8A40B6
box border html code for color #8A40B6

text shadow with RGB values

HTML code

<div style="background-color:#FFFFFF; border:1px solid #8A40B6;"></div>

CSS code with RGB

.text-shadow: 0px 2px 2px rgba(138, 64, 182, 1.4);



Pre-formatted code 8A40B6 code for script / programming
HTML, CSS: = #8A40B6; rgb(138, 64, 182)
Java: = new Color(138, 64, 182)
.NET: = Color.FromArgb (138, 64, 182);
Xojo: = rgb (138, 64, 182, 0);
openGL: = glColor3f (0.54f, 0.25f, 0.71f);
Swift: = UIColor(red:0.54, green:0.25, blue:0.71, alpha:1.00000);
Objective-C: = [UIColor colorWithRed:0.54 green:0.25 blue:0.71 alpha:1.00000];


Color schemes with #8A40B6


Monochromatic color
monochromatic color scheme

Monochromatic color schemes are easy to create because they use only one color. Monochromatic schemes use different tones from the same angle on the color wheel (the same angle).Just change color saturation +10% and you have a new monocromatic color. On our case color: 65% has a #8A40B6 saturation. Adding 65% + 10% = 75% saturation for our new color #68248F. Decreasing 65% - 10% = 55% saturation for other monochromatic color #AF63DB.

Analogous color
analogous color scheme

Analogous color schemes are created by using colors that are next to each other on the color wheel. Just +/- 30o on sides of the color hue angle.

Complementary color
complementary color scheme
Complementary schemes are created by combining colors from opposite sides of the color wheel. Simple add 180 degrees to color hue / angle and you have the complementary color. On our case color: #8A40B6 has a 278o angle. Adding 278o + 180o = 98oo for our new complementary color #6BB53F.

Split color
split color scheme

Compound schemes or split complementary schemens are almost the same as complementary schemes.
Instead of using colors that are opposites, it uses colors on both sides of the opposite hue angle.
On our case color: #8A40B6 has a 278o angle. Adding 278o + 180o+30o = 128o for our first complementary color #3FB54F. Decreasing 278o + 180o-30o = 68o for the second complementary color #A5B53F.

Tiradic color
tiradic color scheme

Triadic schemes are made up of hues/angles equally spaced around color wheel. Add and decrease +/- 120 degrees on both sides of the color hue angle.

Tetradic color
tetradic color scheme

Tetradic schemes are made up of hues/angles spaced around color wheel. Add 120,180,300 degrees on the color hue angle.