#842afa Color Information

In a RGB color space, hex #842afa is composed of 51.8% red, 16.5% green and 98% blue. Whereas in a CMYK color space, it is composed of 47.2% cyan, 83.2% magenta, 0% yellow and 2% black. It has a hue angle of 266 degrees, a saturation of 95.4% and a lightness of 57.3%. #842afa color hex could be obtained by blending #ff54ff with #0900f5. Closest websafe color is: #9933ff.

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

#842afa color description : Bright violet.

#842afa Color Conversion

The hexadecimal color #842afa has RGB values of R:132, G:42, B:250 and CMYK values of C:0.47, M:0.83, Y:0, K:0.02. Its decimal value is 8661754.

Hex triplet 842afa #842afa
RGB Decimal 132, 42, 250 rgb(132,42,250)
RGB Percent 51.8, 16.5, 98 rgb(51.8%,16.5%,98%)
CMYK 47, 83, 0, 2
HSL 266°, 95.4, 57.3 hsl(266,95.4%,57.3%)
HSV (or HSB) 266°, 83.2, 98
Web Safe 9933ff #9933ff
CIE-LAB 43.453, 74.821, -86.285
XYZ 27.596, 13.463, 91.582
xyY 0.208, 0.102, 13.463
CIE-LCH 43.453, 114.207, 310.93
CIE-LUV 43.453, 11.891, -128.829
Hunter-Lab 36.693, 70.036, -122.299
Binary 10000100, 00101010, 11111010

Color Schemes with #842afa

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

Alternatives to #842afa

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

Similar Colors

#842afa Preview

Text with hexadecimal color #842afa

This text has a font color of #842afa.

<span style="color:#842afa;">Text here</span>
#842afa background color

This paragraph has a background color of #842afa.

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

This element has a border color of #842afa.

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

Shades and Tints of #842afa

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

Shade Color Variation
Tint Color Variation

Tones of #842afa

A tone is produced by adding gray to any pure hue. In this case, #928f95 is the less saturated color, while #842afa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #842afa 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
  • #5d5d5d Achromatopsia 0.005% of the population
  • #65537c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006bd0 Protanopia 1% of men
  • #0071b6 Deuteranopia 1% of men
  • #5e7179 Tritanopia 0.001% of the population
Trichromacy
  • #3053df Protanomaly 1% of men, 0.01% of women
  • #3057ce Deuteranomaly 6% of men, 0.4% of women
  • #6c57a8 Tritanomaly 0.01% of the population