#840ef2 Color Information

In a RGB color space, hex #840ef2 is composed of 51.8% red, 5.5% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 94.2% magenta, 0% yellow and 5.1% black. It has a hue angle of 271.1 degrees, a saturation of 89.8% and a lightness of 50.2%. #840ef2 color hex could be obtained by blending #ff1cff with #0900e5. Closest websafe color is: #9900ff.

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

#840ef2 color description : Vivid violet.

#840ef2 Color Conversion

The hexadecimal color #840ef2 has RGB values of R:132, G:14, B:242 and CMYK values of C:0.45, M:0.94, Y:0, K:0.05. Its decimal value is 8654578.

Hex triplet 840ef2 #840ef2
RGB Decimal 132, 14, 242 rgb(132,14,242)
RGB Percent 51.8, 5.5, 94.9 rgb(51.8%,5.5%,94.9%)
CMYK 45, 94, 0, 5
HSL 271.1°, 89.8, 50.2 hsl(271.1,89.8%,50.2%)
HSV (or HSB) 271.1°, 94.2, 94.9
Web Safe 9900ff #9900ff
CIE-LAB 40.623, 79.247, -86.451
XYZ 25.697, 11.63, 84.891
xyY 0.21, 0.095, 11.63
CIE-LCH 40.623, 117.276, 312.511
CIE-LUV 40.623, 14.869, -125.79
Hunter-Lab 34.103, 74.82, -123.713
Binary 10000100, 00001110, 11110010

Color Schemes with #840ef2

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

Alternatives to #840ef2

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

Similar Colors

#840ef2 Preview

Text with hexadecimal color #840ef2

This text has a font color of #840ef2.

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

This paragraph has a background color of #840ef2.

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

This element has a border color of #840ef2.

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

Shades and Tints of #840ef2

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 #f6edfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840ef2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840ef2 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #563f6c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0065c4 Protanopia 1% of men
  • #006aab Deuteranopia 1% of men
  • #616970 Tritanopia 0.001% of the population
Trichromacy
  • #3045d4 Protanomaly 1% of men, 0.01% of women
  • #3049c4 Deuteranomaly 6% of men, 0.4% of women
  • #6d479f Tritanomaly 0.01% of the population