#7f42cb Color Information

In a RGB color space, hex #7f42cb is composed of 49.8% red, 25.9% green and 79.6% blue. Whereas in a CMYK color space, it is composed of 37.4% cyan, 67.5% magenta, 0% yellow and 20.4% black. It has a hue angle of 266.7 degrees, a saturation of 56.8% and a lightness of 52.7%. #7f42cb color hex could be obtained by blending #fe84ff with #000097. Closest websafe color is: #6633cc.

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

#7f42cb color description : Moderate violet.

#7f42cb Color Conversion

The hexadecimal color #7f42cb has RGB values of R:127, G:66, B:203 and CMYK values of C:0.37, M:0.67, Y:0, K:0.2. Its decimal value is 8340171.

Hex triplet 7f42cb #7f42cb
RGB Decimal 127, 66, 203 rgb(127,66,203)
RGB Percent 49.8, 25.9, 79.6 rgb(49.8%,25.9%,79.6%)
CMYK 37, 67, 0, 20
HSL 266.7°, 56.8, 52.7 hsl(266.7,56.8%,52.7%)
HSV (or HSB) 266.7°, 67.5, 79.6
Web Safe 6633cc #6633cc
CIE-LAB 42.339, 53.089, -61.374
XYZ 21.478, 12.72, 57.82
xyY 0.233, 0.138, 12.72
CIE-LCH 42.339, 81.149, 310.86
CIE-LUV 42.339, 13.695, -94.423
Hunter-Lab 35.666, 45.081, -71.154
Binary 01111111, 01000010, 11001011

Color Schemes with #7f42cb

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

Alternatives to #7f42cb

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

Similar Colors

#7f42cb Preview

Text with hexadecimal color #7f42cb

This text has a font color of #7f42cb.

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

This paragraph has a background color of #7f42cb.

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

This element has a border color of #7f42cb.

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

Shades and Tints of #7f42cb

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, #07030b is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #7f42cb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42cb 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
  • #0068cc Protanopia 1% of men
  • #006eb5 Deuteranopia 1% of men
  • #6d6a72 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
  • #745b92 Tritanomaly 0.01% of the population