#7f42d8 Color Information

In a RGB color space, hex #7f42d8 is composed of 49.8% red, 25.9% green and 84.7% blue. Whereas in a CMYK color space, it is composed of 41.2% cyan, 69.4% magenta, 0% yellow and 15.3% black. It has a hue angle of 264.4 degrees, a saturation of 65.8% and a lightness of 55.3%. #7f42d8 color hex could be obtained by blending #fe84ff with #0000b1. Closest websafe color is: #6633cc.

    • R 50
    • G 26
    • B 85
    RGB color chart
    • C 41
    • M 69
    • Y 0
    • K 15
    CMYK color chart

#7f42d8 color description : Moderate violet.

#7f42d8 Color Conversion

The hexadecimal color #7f42d8 has RGB values of R:127, G:66, B:216 and CMYK values of C:0.41, M:0.69, Y:0, K:0.15. Its decimal value is 8340184.

Hex triplet 7f42d8 #7f42d8
RGB Decimal 127, 66, 216 rgb(127,66,216)
RGB Percent 49.8, 25.9, 84.7 rgb(49.8%,25.9%,84.7%)
CMYK 41, 69, 0, 15
HSL 264.4°, 65.8, 55.3 hsl(264.4,65.8%,55.3%)
HSV (or HSB) 264.4°, 69.4, 84.7
Web Safe 6633cc #6633cc
CIE-LAB 43.31, 56.351, -67.28
XYZ 23.093, 13.366, 66.325
xyY 0.225, 0.13, 13.366
CIE-LCH 43.31, 87.762, 309.948
CIE-LUV 43.31, 11.689, -103.402
Hunter-Lab 36.56, 48.77, -81.969
Binary 01111111, 01000010, 11011000

Color Schemes with #7f42d8

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

Alternatives to #7f42d8

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

Similar Colors

#7f42d8 Preview

Text with hexadecimal color #7f42d8

This text has a font color of #7f42d8.

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

This paragraph has a background color of #7f42d8.

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

This element has a border color of #7f42d8.

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

Shades and Tints of #7f42d8

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

Shade Color Variation
Tint Color Variation

Tones of #7f42d8

A tone is produced by adding gray to any pure hue. In this case, #8c8892 is the less saturated color, while #781ffb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f42d8 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
  • #656565 Achromatopsia 0.005% of the population
  • #6a5e7c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006bd0 Protanopia 1% of men
  • #0070b8 Deuteranopia 1% of men
  • #696e76 Tritanopia 0.001% of the population
Trichromacy
  • #2e5cd3 Protanomaly 1% of men, 0.01% of women
  • #2e5fc3 Deuteranomaly 6% of men, 0.4% of women
  • #715e9a Tritanomaly 0.01% of the population