#af21f2 Color Information

In a RGB color space, hex #af21f2 is composed of 68.6% red, 12.9% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 27.7% cyan, 86.4% magenta, 0% yellow and 5.1% black. It has a hue angle of 280.8 degrees, a saturation of 88.9% and a lightness of 53.9%. #af21f2 color hex could be obtained by blending #ff42ff with #5f00e5. Closest websafe color is: #9933ff.

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

#af21f2 color description : Vivid violet.

#af21f2 Color Conversion

The hexadecimal color #af21f2 has RGB values of R:175, G:33, B:242 and CMYK values of C:0.28, M:0.86, Y:0, K:0.05. Its decimal value is 11477490.

Hex triplet af21f2 #af21f2
RGB Decimal 175, 33, 242 rgb(175,33,242)
RGB Percent 68.6, 12.9, 94.9 rgb(68.6%,12.9%,94.9%)
CMYK 28, 86, 0, 5
HSL 280.8°, 88.9, 53.9 hsl(280.8,88.9%,53.9%)
HSV (or HSB) 280.8°, 86.4, 94.9
Web Safe 9933ff #9933ff
CIE-LAB 47.769, 80.929, -74.498
XYZ 34.248, 16.614, 85.402
xyY 0.251, 0.122, 16.614
CIE-LCH 47.769, 109.997, 317.369
CIE-LUV 47.769, 34.782, -118.778
Hunter-Lab 40.76, 78.653, -95.696
Binary 10101111, 00100001, 11110010

Color Schemes with #af21f2

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

Alternatives to #af21f2

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

Similar Colors

#af21f2 Preview

Text with hexadecimal color #af21f2

This text has a font color of #af21f2.

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

This paragraph has a background color of #af21f2.

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

This element has a border color of #af21f2.

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

Shades and Tints of #af21f2

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

Shade Color Variation
Tint Color Variation

Tones of #af21f2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21f2 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
  • #636363 Achromatopsia 0.005% of the population
  • #725680 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0075e4 Protanopia 1% of men
  • #007bc9 Deuteranopia 1% of men
  • #9a6c73 Tritanopia 0.001% of the population
Trichromacy
  • #3f56e9 Protanomaly 1% of men, 0.01% of women
  • #3f5ad8 Deuteranomaly 6% of men, 0.4% of women
  • #a150a1 Tritanomaly 0.01% of the population