#840afb Color Information

In a RGB color space, hex #840afb is composed of 51.8% red, 3.9% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 96% magenta, 0% yellow and 1.6% black. It has a hue angle of 270.4 degrees, a saturation of 96.8% and a lightness of 51.2%. #840afb color hex could be obtained by blending #ff14ff with #0900f7. Closest websafe color is: #9900ff.

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

#840afb color description : Vivid violet.

#840afb Color Conversion

The hexadecimal color #840afb has RGB values of R:132, G:10, B:251 and CMYK values of C:0.47, M:0.96, Y:0, K:0.02. Its decimal value is 8653563.

Hex triplet 840afb #840afb
RGB Decimal 132, 10, 251 rgb(132,10,251)
RGB Percent 51.8, 3.9, 98.4 rgb(51.8%,3.9%,98.4%)
CMYK 47, 96, 0, 2
HSL 270.4°, 96.8, 51.2 hsl(270.4,96.8%,51.2%)
HSV (or HSB) 270.4°, 96, 98.4
Web Safe 9900ff #9900ff
CIE-LAB 41.355, 81.602, -90.306
XYZ 27.034, 12.088, 92.17
xyY 0.206, 0.092, 12.088
CIE-LCH 41.355, 121.713, 312.101
CIE-LUV 41.355, 13.54, -131.159
Hunter-Lab 34.767, 77.954, -132.845
Binary 10000100, 00001010, 11111011

Color Schemes with #840afb

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

Alternatives to #840afb

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

Similar Colors

#840afb Preview

Text with hexadecimal color #840afb

This text has a font color of #840afb.

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

This paragraph has a background color of #840afb.

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

This element has a border color of #840afb.

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

Shades and Tints of #840afb

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

Shade Color Variation
Tint Color Variation

Tones of #840afb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #840afb 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
  • #563d6d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0066c7 Protanopia 1% of men
  • #006cad Deuteranopia 1% of men
  • #5c6c73 Tritanopia 0.001% of the population
Trichromacy
  • #3045da Protanomaly 1% of men, 0.01% of women
  • #3048c9 Deuteranomaly 6% of men, 0.4% of women
  • #6a48a5 Tritanomaly 0.01% of the population