#842afb Color Information

In a RGB color space, hex #842afb is composed of 51.8% red, 16.5% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 83.3% magenta, 0% yellow and 1.6% black. It has a hue angle of 265.8 degrees, a saturation of 96.3% and a lightness of 57.5%. #842afb color hex could be obtained by blending #ff54ff with #0900f7. 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

#842afb color description : Bright violet.

#842afb Color Conversion

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

Hex triplet 842afb #842afb
RGB Decimal 132, 42, 251 rgb(132,42,251)
RGB Percent 51.8, 16.5, 98.4 rgb(51.8%,16.5%,98.4%)
CMYK 47, 83, 0, 2
HSL 265.8°, 96.3, 57.5 hsl(265.8,96.3%,57.5%)
HSV (or HSB) 265.8°, 83.3, 98.4
Web Safe 9933ff #9933ff
CIE-LAB 43.546, 75.05, -86.693
XYZ 27.753, 13.526, 92.41
xyY 0.208, 0.101, 13.526
CIE-LCH 43.546, 114.665, 310.883
CIE-LUV 43.546, 11.742, -129.432
Hunter-Lab 36.778, 70.337, -123.23
Binary 10000100, 00101010, 11111011

Color Schemes with #842afb

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

Alternatives to #842afb

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

Similar Colors

#842afb Preview

Text with hexadecimal color #842afb

This text has a font color of #842afb.

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

This paragraph has a background color of #842afb.

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

This element has a border color of #842afb.

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

Shades and Tints of #842afb

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

Shade Color Variation
Tint Color Variation

Tones of #842afb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #842afb 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
  • #65537d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006bd1 Protanopia 1% of men
  • #0071b6 Deuteranopia 1% of men
  • #5e717a Tritanopia 0.001% of the population
Trichromacy
  • #3053e0 Protanomaly 1% of men, 0.01% of women
  • #3057cf Deuteranomaly 6% of men, 0.4% of women
  • #6b57a9 Tritanomaly 0.01% of the population