#7f42c8 Color Information

In a RGB color space, hex #7f42c8 is composed of 49.8% red, 25.9% green and 78.4% blue. Whereas in a CMYK color space, it is composed of 36.5% cyan, 67% magenta, 0% yellow and 21.6% black. It has a hue angle of 267.3 degrees, a saturation of 54.9% and a lightness of 52.2%. #7f42c8 color hex could be obtained by blending #fe84ff with #000091. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 78
    RGB color chart
    • C 37
    • M 67
    • Y 0
    • K 22
    CMYK color chart

#7f42c8 color description : Moderate violet.

#7f42c8 Color Conversion

The hexadecimal color #7f42c8 has RGB values of R:127, G:66, B:200 and CMYK values of C:0.37, M:0.67, Y:0, K:0.22. Its decimal value is 8340168.

Hex triplet 7f42c8 #7f42c8
RGB Decimal 127, 66, 200 rgb(127,66,200)
RGB Percent 49.8, 25.9, 78.4 rgb(49.8%,25.9%,78.4%)
CMYK 37, 67, 0, 22
HSL 267.3°, 54.9, 52.2 hsl(267.3,54.9%,52.2%)
HSV (or HSB) 267.3°, 67, 78.4
Web Safe 6633cc #6633cc
CIE-LAB 42.121, 52.343, -59.989
XYZ 21.124, 12.579, 55.955
xyY 0.236, 0.14, 12.579
CIE-LCH 42.121, 79.614, 311.106
CIE-LUV 42.121, 14.178, -92.312
Hunter-Lab 35.466, 44.25, -68.715
Binary 01111111, 01000010, 11001000

Color Schemes with #7f42c8

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

Alternatives to #7f42c8

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

Similar Colors

#7f42c8 Preview

Text with hexadecimal color #7f42c8

This text has a font color of #7f42c8.

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

This paragraph has a background color of #7f42c8.

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

This element has a border color of #7f42c8.

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

Shades and Tints of #7f42c8

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, #050209 is the darkest color, while #faf8fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #7f42c8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42c8 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
  • #695d78 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0068cb Protanopia 1% of men
  • #006db4 Deuteranopia 1% of men
  • #6e6971 Tritanopia 0.001% of the population
Trichromacy
  • #2e5aca Protanomaly 1% of men, 0.01% of women
  • #2e5dbb Deuteranomaly 6% of men, 0.4% of women
  • #745b90 Tritanomaly 0.01% of the population