#af21f6 Color Information

In a RGB color space, hex #af21f6 is composed of 68.6% red, 12.9% green and 96.5% blue. Whereas in a CMYK color space, it is composed of 28.9% cyan, 86.6% magenta, 0% yellow and 3.5% black. It has a hue angle of 280 degrees, a saturation of 92.2% and a lightness of 54.7%. #af21f6 color hex could be obtained by blending #ff42ff with #5f00ed. Closest websafe color is: #9933ff.

    • R 69
    • G 13
    • B 96
    RGB color chart
    • C 29
    • M 87
    • Y 0
    • K 4
    CMYK color chart

#af21f6 color description : Vivid violet.

#af21f6 Color Conversion

The hexadecimal color #af21f6 has RGB values of R:175, G:33, B:246 and CMYK values of C:0.29, M:0.87, Y:0, K:0.04. Its decimal value is 11477494.

Hex triplet af21f6 #af21f6
RGB Decimal 175, 33, 246 rgb(175,33,246)
RGB Percent 68.6, 12.9, 96.5 rgb(68.6%,12.9%,96.5%)
CMYK 29, 87, 0, 4
HSL 280°, 92.2, 54.7 hsl(280,92.2%,54.7%)
HSV (or HSB) 280°, 86.6, 96.5
Web Safe 9933ff #9933ff
CIE-LAB 48.079, 81.686, -76.239
XYZ 34.855, 16.857, 88.601
xyY 0.248, 0.12, 16.857
CIE-LCH 48.079, 111.736, 316.975
CIE-LUV 48.079, 33.781, -121.411
Hunter-Lab 41.057, 79.689, -99.209
Binary 10101111, 00100001, 11110110

Color Schemes with #af21f6

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

Alternatives to #af21f6

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

Similar Colors

#af21f6 Preview

Text with hexadecimal color #af21f6

This text has a font color of #af21f6.

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

This paragraph has a background color of #af21f6.

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

This element has a border color of #af21f6.

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

Shades and Tints of #af21f6

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

Shade Color Variation
Tint Color Variation

Tones of #af21f6

A tone is produced by adding gray to any pure hue. In this case, #8e8394 is the less saturated color, while #b218ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21f6 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
  • #646464 Achromatopsia 0.005% of the population
  • #735781 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0075e5 Protanopia 1% of men
  • #007cca Deuteranopia 1% of men
  • #996d75 Tritanopia 0.001% of the population
Trichromacy
  • #3f57eb Protanomaly 1% of men, 0.01% of women
  • #3f5ada Deuteranomaly 6% of men, 0.4% of women
  • #a151a4 Tritanomaly 0.01% of the population