#8040D4 Hex color

#8040D4

The hexadecimal color code #8040D4 corresponds to the code RGB( 128, 64, 212 ). It's a shade of Purple. This color is a combination of red (at 0,50 level), green (at 0,25 level) and blue (at 0,83 level). Its brightness is 54% and its saturation is 63%. It is composed of red at 31%, green at 15% and blue at 52%.


Features

Hue

Saturation

Brightness

266
63
54
Shade of Purple
Hex Code #8040D4
RGB Code rgb( 128 , 64 , 212)
RGB Code Percentagergb( 50.2% , 25.1% , 83.1% )
HSLhsl( 266 , 63% , 54% )
Complementary
Color
#7FBF2B


Variations of #8040D4

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #8040D4 is the color #F2EBFA

#8040d4

Darker Shades

Palette of progressively darker shades. The darkest shade is #0C0615.

#8040d4

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

The complementary color #7FBF2B is the color exactly opposite to #8040D4 on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#8040D4

Triadic palette



Uses of #8040D4 in CSS

When using #8040D4 as the background color, consider selecting a darker text color for improved readability. If you want to use #8040D4 as the text color, prefer a dark background, such as Black.

#8040D4 as background color

Black text
White text
div{ background: #8040D4;  }

Colored text

With a white background or
with a dark background
div{ color: #8040D4;  }

Border

#8040D4 colored border with a width of 3px
div{ border: 3px solid #8040D4;  }

Shadow

#8040D4 shadow colored
div{ box-shadow: 3px 3px 7px #8040D4; }

Similar Colors

Other color codes similar or equivalent to the specified color code #8040D4.

Choose another color

Select another color on color wheel.

Selected color: