#840cfb Color Information

In a RGB color space, hex #840cfb is composed of 51.8% red, 4.7% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 95.2% magenta, 0% yellow and 1.6% black. It has a hue angle of 270.1 degrees, a saturation of 96.8% and a lightness of 51.6%. #840cfb color hex could be obtained by blending #ff18ff with #0900f7. 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

#840cfb color description : Vivid violet.

#840cfb Color Conversion

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

Hex triplet 840cfb #840cfb
RGB Decimal 132, 12, 251 rgb(132,12,251)
RGB Percent 51.8, 4.7, 98.4 rgb(51.8%,4.7%,98.4%)
CMYK 47, 95, 0, 2
HSL 270.1°, 96.8, 51.6 hsl(270.1,96.8%,51.6%)
HSV (or HSB) 270.1°, 95.2, 98.4
Web Safe 9900ff #9900ff
CIE-LAB 41.427, 81.383, -90.186
XYZ 27.057, 12.133, 92.178
xyY 0.206, 0.092, 12.133
CIE-LCH 41.427, 121.477, 312.063
CIE-LUV 41.427, 13.484, -131.114
Hunter-Lab 34.833, 77.694, -132.515
Binary 10000100, 00001100, 11111011

Color Schemes with #840cfb

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

Alternatives to #840cfb

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

Similar Colors

#840cfb Preview

Text with hexadecimal color #840cfb

This text has a font color of #840cfb.

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

This paragraph has a background color of #840cfb.

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

This element has a border color of #840cfb.

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

Shades and Tints of #840cfb

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

Shade Color Variation
Tint Color Variation

Tones of #840cfb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cfb 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
  • #5c6c74 Tritanopia 0.001% of the population
Trichromacy
  • #3045da Protanomaly 1% of men, 0.01% of women
  • #3049c9 Deuteranomaly 6% of men, 0.4% of women
  • #6a49a5 Tritanomaly 0.01% of the population