#7f42cc Color Information

In a RGB color space, hex #7f42cc is composed of 49.8% red, 25.9% green and 80% blue. Whereas in a CMYK color space, it is composed of 37.7% cyan, 67.6% magenta, 0% yellow and 20% black. It has a hue angle of 266.5 degrees, a saturation of 57.5% and a lightness of 52.9%. #7f42cc color hex could be obtained by blending #fe84ff with #000099. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 80
    RGB color chart
    • C 38
    • M 68
    • Y 0
    • K 20
    CMYK color chart

#7f42cc color description : Moderate violet.

#7f42cc Color Conversion

The hexadecimal color #7f42cc has RGB values of R:127, G:66, B:204 and CMYK values of C:0.38, M:0.68, Y:0, K:0.2. Its decimal value is 8340172.

Hex triplet 7f42cc #7f42cc
RGB Decimal 127, 66, 204 rgb(127,66,204)
RGB Percent 49.8, 25.9, 80 rgb(49.8%,25.9%,80%)
CMYK 38, 68, 0, 20
HSL 266.5°, 57.5, 52.9 hsl(266.5,57.5%,52.9%)
HSV (or HSB) 266.5°, 67.6, 80
Web Safe 6633cc #6633cc
CIE-LAB 42.412, 53.338, -61.834
XYZ 21.598, 12.768, 58.45
xyY 0.233, 0.138, 12.768
CIE-LCH 42.412, 81.66, 310.781
CIE-LUV 42.412, 13.535, -95.123
Hunter-Lab 35.733, 45.359, -71.972
Binary 01111111, 01000010, 11001100

Color Schemes with #7f42cc

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #7f42cc

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

Similar Colors

#7f42cc Preview

Text with hexadecimal color #7f42cc

This text has a font color of #7f42cc.

<span style="color:#7f42cc;">Text here</span>
#7f42cc background color

This paragraph has a background color of #7f42cc.

<p style="background-color:#7f42cc;">Content here</p>
#7f42cc border color

This element has a border color of #7f42cc.

<div style="border:1px solid #7f42cc;">Content here</div>
CSS codes
.text {color:#7f42cc;}
.background {background-color:#7f42cc;}
.border {border:1px solid #7f42cc;}

Shades and Tints of #7f42cc

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #07030c is the darkest color, while #fdfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #7f42cc

A tone is produced by adding gray to any pure hue. In this case, #86838b is the less saturated color, while #7a14fa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42cc is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #646464 Achromatopsia 0.005% of the population
  • #695d79 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0068cd Protanopia 1% of men
  • #006eb5 Deuteranopia 1% of men
  • #6d6b72 Tritanopia 0.001% of the population
Trichromacy
  • #2e5acc Protanomaly 1% of men, 0.01% of women
  • #2e5ebd Deuteranomaly 6% of men, 0.4% of women
  • #735c93 Tritanomaly 0.01% of the population