#af21f4 Color Information

In a RGB color space, hex #af21f4 is composed of 68.6% red, 12.9% green and 95.7% blue. Whereas in a CMYK color space, it is composed of 28.3% cyan, 86.5% magenta, 0% yellow and 4.3% black. It has a hue angle of 280.4 degrees, a saturation of 90.6% and a lightness of 54.3%. #af21f4 color hex could be obtained by blending #ff42ff with #5f00e9. Closest websafe color is: #9933ff.

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

#af21f4 color description : Vivid violet.

#af21f4 Color Conversion

The hexadecimal color #af21f4 has RGB values of R:175, G:33, B:244 and CMYK values of C:0.28, M:0.86, Y:0, K:0.04. Its decimal value is 11477492.

Hex triplet af21f4 #af21f4
RGB Decimal 175, 33, 244 rgb(175,33,244)
RGB Percent 68.6, 12.9, 95.7 rgb(68.6%,12.9%,95.7%)
CMYK 28, 86, 0, 4
HSL 280.4°, 90.6, 54.3 hsl(280.4,90.6%,54.3%)
HSV (or HSB) 280.4°, 86.5, 95.7
Web Safe 9933ff #9933ff
CIE-LAB 47.924, 81.307, -75.37
XYZ 34.55, 16.734, 86.993
xyY 0.25, 0.121, 16.734
CIE-LCH 47.924, 110.867, 317.17
CIE-LUV 47.924, 34.278, -120.097
Hunter-Lab 40.908, 79.17, -97.449
Binary 10101111, 00100001, 11110100

Color Schemes with #af21f4

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

Alternatives to #af21f4

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

Similar Colors

#af21f4 Preview

Text with hexadecimal color #af21f4

This text has a font color of #af21f4.

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

This paragraph has a background color of #af21f4.

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

This element has a border color of #af21f4.

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

Shades and Tints of #af21f4

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

Shade Color Variation
Tint Color Variation

Tones of #af21f4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21f4 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
  • #0075e4 Protanopia 1% of men
  • #007bca Deuteranopia 1% of men
  • #996d74 Tritanopia 0.001% of the population
Trichromacy
  • #3f56ea Protanomaly 1% of men, 0.01% of women
  • #3f5ad9 Deuteranomaly 6% of men, 0.4% of women
  • #a151a2 Tritanomaly 0.01% of the population