#840cfa Color Information

In a RGB color space, hex #840cfa is composed of 51.8% red, 4.7% green and 98% blue. Whereas in a CMYK color space, it is composed of 47.2% cyan, 95.2% magenta, 0% yellow and 2% black. It has a hue angle of 270.3 degrees, a saturation of 96% and a lightness of 51.4%. #840cfa color hex could be obtained by blending #ff18ff with #0900f5. Closest websafe color is: #9900ff.

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

#840cfa color description : Vivid violet.

#840cfa Color Conversion

The hexadecimal color #840cfa has RGB values of R:132, G:12, B:250 and CMYK values of C:0.47, M:0.95, Y:0, K:0.02. Its decimal value is 8654074.

Hex triplet 840cfa #840cfa
RGB Decimal 132, 12, 250 rgb(132,12,250)
RGB Percent 51.8, 4.7, 98 rgb(51.8%,4.7%,98%)
CMYK 47, 95, 0, 2
HSL 270.3°, 96, 51.4 hsl(270.3,96%,51.4%)
HSV (or HSB) 270.3°, 95.2, 98
Web Safe 9900ff #9900ff
CIE-LAB 41.328, 81.173, -89.789
XYZ 26.9, 12.071, 91.35
xyY 0.206, 0.093, 12.071
CIE-LCH 41.328, 121.042, 312.115
CIE-LUV 41.328, 13.641, -130.532
Hunter-Lab 34.743, 77.405, -131.573
Binary 10000100, 00001100, 11111010

Color Schemes with #840cfa

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

Alternatives to #840cfa

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

Similar Colors

#840cfa Preview

Text with hexadecimal color #840cfa

This text has a font color of #840cfa.

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

This paragraph has a background color of #840cfa.

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

This element has a border color of #840cfa.

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

Shades and Tints of #840cfa

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

Shade Color Variation
Tint Color Variation

Tones of #840cfa

A tone is produced by adding gray to any pure hue. In this case, #837e88 is the less saturated color, while #840cfa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cfa 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
  • #563e6e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0066c7 Protanopia 1% of men
  • #006cad Deuteranopia 1% of men
  • #5d6b73 Tritanopia 0.001% of the population
Trichromacy
  • #3045d9 Protanomaly 1% of men, 0.01% of women
  • #3049c9 Deuteranomaly 6% of men, 0.4% of women
  • #6b49a4 Tritanomaly 0.01% of the population