#7940CB Hex color

#7940CB

The hexadecimal color code #7940CB corresponds to the code RGB( 121, 64, 203 ). It's a shade of Purple. This color is a combination of red (at 0,47 level), green (at 0,25 level) and blue (at 0,80 level). Its brightness is 52% and its saturation is 57%. It is composed of red at 31%, green at 16% and blue at 52%.


Features

Hue

Saturation

Brightness

265
57
52
Shade of Purple
Hex Code #7940CB
RGB Code rgb( 121 , 64 , 203)
RGB Code Percentagergb( 47.5% , 25.1% , 79.6% )
HSLhsl( 265 , 57% , 52% )
Complementary
Color
#86BF34


Variations of #7940CB

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #7940CB is the color #F1EBF9

#7940cb

Darker Shades

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

#7940cb

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

The complementary color #86BF34 is the color exactly opposite to #7940CB on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#7940CB

Triadic palette



Uses of #7940CB in CSS

When using #7940CB as the background color, consider selecting a lighter text color for improved readability. If you want to use #7940CB as the text color, prefer a light background, such as Blanc.

#7940CB as background color

Black text
White text
div{ background: #7940CB;  }

Colored text

With a white background or
with a dark background
div{ color: #7940CB;  }

Border

#7940CB colored border with a width of 3px
div{ border: 3px solid #7940CB;  }

Shadow

#7940CB shadow colored
div{ box-shadow: 3px 3px 7px #7940CB; }

Similar Colors

Other color codes similar or equivalent to the specified color code #7940CB.

Choose another color

Select another color on color wheel.

Selected color: