#840cf8 Color Information

In a RGB color space, hex #840cf8 is composed of 51.8% red, 4.7% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 46.8% cyan, 95.2% magenta, 0% yellow and 2.7% black. It has a hue angle of 270.5 degrees, a saturation of 94.4% and a lightness of 51%. #840cf8 color hex could be obtained by blending #ff18ff with #0900f1. Closest websafe color is: #9900ff.

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

#840cf8 color description : Vivid violet.

#840cf8 Color Conversion

The hexadecimal color #840cf8 has RGB values of R:132, G:12, B:248 and CMYK values of C:0.47, M:0.95, Y:0, K:0.03. Its decimal value is 8654072.

Hex triplet 840cf8 #840cf8
RGB Decimal 132, 12, 248 rgb(132,12,248)
RGB Percent 51.8, 4.7, 97.3 rgb(51.8%,4.7%,97.3%)
CMYK 47, 95, 0, 3
HSL 270.5°, 94.4, 51 hsl(270.5,94.4%,51%)
HSV (or HSB) 270.5°, 95.2, 97.3
Web Safe 9900ff #9900ff
CIE-LAB 41.13, 80.753, -88.993
XYZ 26.588, 11.946, 89.707
xyY 0.207, 0.093, 11.946
CIE-LCH 41.13, 120.17, 312.221
CIE-LUV 41.13, 13.959, -129.365
Hunter-Lab 34.563, 76.829, -129.693
Binary 10000100, 00001100, 11111000

Color Schemes with #840cf8

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

Alternatives to #840cf8

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

Similar Colors

#840cf8 Preview

Text with hexadecimal color #840cf8

This text has a font color of #840cf8.

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

This paragraph has a background color of #840cf8.

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

This element has a border color of #840cf8.

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

Shades and Tints of #840cf8

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

Shade Color Variation
Tint Color Variation

Tones of #840cf8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840cf8 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
  • #0066c6 Protanopia 1% of men
  • #006cac Deuteranopia 1% of men
  • #5e6b72 Tritanopia 0.001% of the population
Trichromacy
  • #3045d8 Protanomaly 1% of men, 0.01% of women
  • #3049c8 Deuteranomaly 6% of men, 0.4% of women
  • #6b48a3 Tritanomaly 0.01% of the population