#af21f5 Color Information

In a RGB color space, hex #af21f5 is composed of 68.6% red, 12.9% green and 96.1% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 86.5% magenta, 0% yellow and 3.9% black. It has a hue angle of 280.2 degrees, a saturation of 91.4% and a lightness of 54.5%. #af21f5 color hex could be obtained by blending #ff42ff with #5f00eb. 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

#af21f5 color description : Vivid violet.

#af21f5 Color Conversion

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

Hex triplet af21f5 #af21f5
RGB Decimal 175, 33, 245 rgb(175,33,245)
RGB Percent 68.6, 12.9, 96.1 rgb(68.6%,12.9%,96.1%)
CMYK 29, 87, 0, 4
HSL 280.2°, 91.4, 54.5 hsl(280.2,91.4%,54.5%)
HSV (or HSB) 280.2°, 86.5, 96.1
Web Safe 9933ff #9933ff
CIE-LAB 48.001, 81.496, -75.805
XYZ 34.702, 16.795, 87.795
xyY 0.249, 0.121, 16.795
CIE-LCH 48.001, 111.302, 317.072
CIE-LUV 48.001, 34.029, -120.755
Hunter-Lab 40.982, 79.429, -98.328
Binary 10101111, 00100001, 11110101

Color Schemes with #af21f5

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

Alternatives to #af21f5

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

Similar Colors

#af21f5 Preview

Text with hexadecimal color #af21f5

This text has a font color of #af21f5.

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

This paragraph has a background color of #af21f5.

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

This element has a border color of #af21f5.

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

Shades and Tints of #af21f5

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

Shade Color Variation
Tint Color Variation

Tones of #af21f5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21f5 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
  • #007bca Deuteranopia 1% of men
  • #996d75 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
  • #a151a3 Tritanomaly 0.01% of the population