#840cec Color Information

In a RGB color space, hex #840cec is composed of 51.8% red, 4.7% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 44.1% cyan, 94.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 272.1 degrees, a saturation of 90.3% and a lightness of 48.6%. #840cec color hex could be obtained by blending #ff18ff with #0900d9. Closest websafe color is: #9900ff.

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

#840cec color description : Vivid violet.

#840cec Color Conversion

The hexadecimal color #840cec has RGB values of R:132, G:12, B:236 and CMYK values of C:0.44, M:0.95, Y:0, K:0.07. Its decimal value is 8654060.

Hex triplet 840cec #840cec
RGB Decimal 132, 12, 236 rgb(132,12,236)
RGB Percent 51.8, 4.7, 92.5 rgb(51.8%,4.7%,92.5%)
CMYK 44, 95, 0, 7
HSL 272.1°, 90.3, 48.6 hsl(272.1,90.3%,48.6%)
HSV (or HSB) 272.1°, 94.9, 92.5
Web Safe 9900ff #9900ff
CIE-LAB 39.956, 78.247, -84.154
XYZ 24.785, 11.225, 80.213
xyY 0.213, 0.097, 11.225
CIE-LCH 39.956, 114.911, 312.917
CIE-LUV 39.956, 15.948, -122.304
Hunter-Lab 33.503, 73.42, -118.499
Binary 10000100, 00001100, 11101100

Color Schemes with #840cec

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

Alternatives to #840cec

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

Similar Colors

#840cec Preview

Text with hexadecimal color #840cec

This text has a font color of #840cec.

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

This paragraph has a background color of #840cec.

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

This element has a border color of #840cec.

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

Shades and Tints of #840cec

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, #07010c is the darkest color, while #fcf8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #840cec

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cec 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
  • #494949 Achromatopsia 0.005% of the population
  • #553d6a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0063c1 Protanopia 1% of men
  • #0069a8 Deuteranopia 1% of men
  • #64666d Tritanopia 0.001% of the population
Trichromacy
  • #3043d0 Protanomaly 1% of men, 0.01% of women
  • #3047c1 Deuteranomaly 6% of men, 0.4% of women
  • #6f459b Tritanomaly 0.01% of the population