#840cf2 Color Information

In a RGB color space, hex #840cf2 is composed of 51.8% red, 4.7% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 95% magenta, 0% yellow and 5.1% black. It has a hue angle of 271.3 degrees, a saturation of 90.6% and a lightness of 49.8%. #840cf2 color hex could be obtained by blending #ff18ff with #0900e5. Closest websafe color is: #9900ff.

    • R 52
    • G 5
    • B 95
    RGB color chart
    • C 45
    • M 95
    • Y 0
    • K 5
    CMYK color chart

#840cf2 color description : Vivid violet.

#840cf2 Color Conversion

The hexadecimal color #840cf2 has RGB values of R:132, G:12, B:242 and CMYK values of C:0.45, M:0.95, Y:0, K:0.05. Its decimal value is 8654066.

Hex triplet 840cf2 #840cf2
RGB Decimal 132, 12, 242 rgb(132,12,242)
RGB Percent 51.8, 4.7, 94.9 rgb(51.8%,4.7%,94.9%)
CMYK 45, 95, 0, 5
HSL 271.3°, 90.6, 49.8 hsl(271.3,90.6%,49.8%)
HSV (or HSB) 271.3°, 95, 94.9
Web Safe 9900ff #9900ff
CIE-LAB 40.539, 79.498, -86.588
XYZ 25.672, 11.579, 84.882
xyY 0.21, 0.095, 11.579
CIE-LCH 40.539, 117.547, 312.556
CIE-LUV 40.539, 14.934, -125.848
Hunter-Lab 34.028, 75.114, -124.076
Binary 10000100, 00001100, 11110010

Color Schemes with #840cf2

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

Alternatives to #840cf2

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

Similar Colors

#840cf2 Preview

Text with hexadecimal color #840cf2

This text has a font color of #840cf2.

<span style="color:#840cf2;">Text here</span>
#840cf2 background color

This paragraph has a background color of #840cf2.

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

This element has a border color of #840cf2.

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

Shades and Tints of #840cf2

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, #0a0112 is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840cf2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cf2 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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #563e6c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0064c3 Protanopia 1% of men
  • #006aaa Deuteranopia 1% of men
  • #616870 Tritanopia 0.001% of the population
Trichromacy
  • #3044d4 Protanomaly 1% of men, 0.01% of women
  • #3048c4 Deuteranomaly 6% of men, 0.4% of women
  • #6d479f Tritanomaly 0.01% of the population