#840cef Color Information

In a RGB color space, hex #840cef is composed of 51.8% red, 4.7% green and 93.7% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 95% magenta, 0% yellow and 6.3% black. It has a hue angle of 271.7 degrees, a saturation of 90.4% and a lightness of 49.2%. #840cef color hex could be obtained by blending #ff18ff with #0900df. Closest websafe color is: #9900ff.

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

#840cef color description : Vivid violet.

#840cef Color Conversion

The hexadecimal color #840cef has RGB values of R:132, G:12, B:239 and CMYK values of C:0.45, M:0.95, Y:0, K:0.06. Its decimal value is 8654063.

Hex triplet 840cef #840cef
RGB Decimal 132, 12, 239 rgb(132,12,239)
RGB Percent 51.8, 4.7, 93.7 rgb(51.8%,4.7%,93.7%)
CMYK 45, 95, 0, 6
HSL 271.7°, 90.4, 49.2 hsl(271.7,90.4%,49.2%)
HSV (or HSB) 271.7°, 95, 93.7
Web Safe 9900ff #9900ff
CIE-LAB 40.247, 78.872, -85.374
XYZ 25.225, 11.401, 82.528
xyY 0.212, 0.096, 11.401
CIE-LCH 40.247, 116.231, 312.733
CIE-LUV 40.247, 15.436, -124.079
Hunter-Lab 33.765, 74.264, -121.282
Binary 10000100, 00001100, 11101111

Color Schemes with #840cef

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

Alternatives to #840cef

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

Similar Colors

#840cef Preview

Text with hexadecimal color #840cef

This text has a font color of #840cef.

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

This paragraph has a background color of #840cef.

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

This element has a border color of #840cef.

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

Shades and Tints of #840cef

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, #08010f is the darkest color, while #fdfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840cef

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cef 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
  • #563e6b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0064c2 Protanopia 1% of men
  • #0069a9 Deuteranopia 1% of men
  • #62676f Tritanopia 0.001% of the population
Trichromacy
  • #3044d2 Protanomaly 1% of men, 0.01% of women
  • #3047c2 Deuteranomaly 6% of men, 0.4% of women
  • #6e469d Tritanomaly 0.01% of the population