#7f51b5 Color Information

In a RGB color space, hex #7f51b5 is composed of 49.8% red, 31.8% green and 71% blue. Whereas in a CMYK color space, it is composed of 29.8% cyan, 55.2% magenta, 0% yellow and 29% black. It has a hue angle of 267.6 degrees, a saturation of 40.3% and a lightness of 51.4%. #7f51b5 color hex could be obtained by blending #fea2ff with #00006b. Closest websafe color is: #6666cc.

    • R 50
    • G 32
    • B 71
    RGB color chart
    • C 30
    • M 55
    • Y 0
    • K 29
    CMYK color chart

#7f51b5 color description : Moderate violet.

#7f51b5 Color Conversion

The hexadecimal color #7f51b5 has RGB values of R:127, G:81, B:181 and CMYK values of C:0.3, M:0.55, Y:0, K:0.29. Its decimal value is 8343989.

Hex triplet 7f51b5 #7f51b5
RGB Decimal 127, 81, 181 rgb(127,81,181)
RGB Percent 49.8, 31.8, 71 rgb(49.8%,31.8%,71%)
CMYK 30, 55, 0, 29
HSL 267.6°, 40.3, 51.4 hsl(267.6,40.3%,51.4%)
HSV (or HSB) 267.6°, 55.2, 71
Web Safe 6666cc #6666cc
CIE-LAB 43.848, 39.598, -46.129
XYZ 20.034, 13.733, 45.309
xyY 0.253, 0.174, 13.733
CIE-LCH 43.848, 60.794, 310.643
CIE-LUV 43.848, 13.427, -72.315
Hunter-Lab 37.058, 31.646, -46.549
Binary 01111111, 01010001, 10110101

Color Schemes with #7f51b5

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

Alternatives to #7f51b5

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

Similar Colors

#7f51b5 Preview

Text with hexadecimal color #7f51b5

This text has a font color of #7f51b5.

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

This paragraph has a background color of #7f51b5.

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

This element has a border color of #7f51b5.

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

Shades and Tints of #7f51b5

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

Shade Color Variation
Tint Color Variation

Tones of #7f51b5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #7f51b5 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
  • #6a6a6a Achromatopsia 0.005% of the population
  • #6e6579 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #346cc8 Protanopia 1% of men
  • #3f70b0 Deuteranopia 1% of men
  • #766c74 Tritanopia 0.001% of the population
Trichromacy
  • #4f62c1 Protanomaly 1% of men, 0.01% of women
  • #5664b2 Deuteranomaly 6% of men, 0.4% of women
  • #79628c Tritanomaly 0.01% of the population