#7f42d2 Color Information

In a RGB color space, hex #7f42d2 is composed of 49.8% red, 25.9% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 39.5% cyan, 68.6% magenta, 0% yellow and 17.6% black. It has a hue angle of 265.4 degrees, a saturation of 61.5% and a lightness of 54.1%. #7f42d2 color hex could be obtained by blending #fe84ff with #0000a5. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 82
    RGB color chart
    • C 40
    • M 69
    • Y 0
    • K 18
    CMYK color chart

#7f42d2 color description : Moderate violet.

#7f42d2 Color Conversion

The hexadecimal color #7f42d2 has RGB values of R:127, G:66, B:210 and CMYK values of C:0.4, M:0.69, Y:0, K:0.18. Its decimal value is 8340178.

Hex triplet 7f42d2 #7f42d2
RGB Decimal 127, 66, 210 rgb(127,66,210)
RGB Percent 49.8, 25.9, 82.4 rgb(49.8%,25.9%,82.4%)
CMYK 40, 69, 0, 18
HSL 265.4°, 61.5, 54.1 hsl(265.4,61.5%,54.1%)
HSV (or HSB) 265.4°, 68.6, 82.4
Web Safe 6633cc #6633cc
CIE-LAB 42.856, 54.84, -64.574
XYZ 22.332, 13.062, 62.314
xyY 0.229, 0.134, 13.062
CIE-LCH 42.856, 84.719, 310.34
CIE-LUV 42.856, 12.597, -99.291
Hunter-Lab 36.141, 47.049, -76.929
Binary 01111111, 01000010, 11010010

Color Schemes with #7f42d2

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

Alternatives to #7f42d2

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

Similar Colors

#7f42d2 Preview

Text with hexadecimal color #7f42d2

This text has a font color of #7f42d2.

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

This paragraph has a background color of #7f42d2.

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

This element has a border color of #7f42d2.

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

Shades and Tints of #7f42d2

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

Shade Color Variation
Tint Color Variation

Tones of #7f42d2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42d2 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.

  • #656565 Achromatopsia 0.005% of the population
  • #6a5e7b Atypical Achromatopsia 0.001% of the population
  • #0069ce Protanopia 1% of men
  • #006fb6 Deuteranopia 1% of men
  • #6b6c74 Tritanopia 0.001% of the population
  • #2e5bd0 Protanomaly 1% of men, 0.01% of women
  • #2e5ec0 Deuteranomaly 6% of men, 0.4% of women
  • #725d96 Tritanomaly 0.01% of the population