#af21fa Color Information

In a RGB color space, hex #af21fa is composed of 68.6% red, 12.9% green and 98% blue. Whereas in a CMYK color space, it is composed of 30% cyan, 86.8% magenta, 0% yellow and 2% black. It has a hue angle of 279.3 degrees, a saturation of 95.6% and a lightness of 55.5%. #af21fa color hex could be obtained by blending #ff42ff with #5f00f5. Closest websafe color is: #9933ff.

    • R 69
    • G 13
    • B 98
    RGB color chart
    • C 30
    • M 87
    • Y 0
    • K 2
    CMYK color chart

#af21fa color description : Vivid violet.

#af21fa Color Conversion

The hexadecimal color #af21fa has RGB values of R:175, G:33, B:250 and CMYK values of C:0.3, M:0.87, Y:0, K:0.02. Its decimal value is 11477498.

Hex triplet af21fa #af21fa
RGB Decimal 175, 33, 250 rgb(175,33,250)
RGB Percent 68.6, 12.9, 98 rgb(68.6%,12.9%,98%)
CMYK 30, 87, 0, 2
HSL 279.3°, 95.6, 55.5 hsl(279.3,95.6%,55.5%)
HSV (or HSB) 279.3°, 86.8, 98
Web Safe 9933ff #9933ff
CIE-LAB 48.392, 82.449, -77.968
XYZ 35.476, 17.105, 91.87
xyY 0.246, 0.118, 17.105
CIE-LCH 48.392, 113.476, 316.6
CIE-LUV 48.392, 32.802, -124.023
Hunter-Lab 41.358, 80.737, -102.753
Binary 10101111, 00100001, 11111010

Color Schemes with #af21fa

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

Alternatives to #af21fa

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

Similar Colors

#af21fa Preview

Text with hexadecimal color #af21fa

This text has a font color of #af21fa.

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

This paragraph has a background color of #af21fa.

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

This element has a border color of #af21fa.

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

Shades and Tints of #af21fa

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

Shade Color Variation
Tint Color Variation

Tones of #af21fa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21fa 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
  • #735782 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0076e6 Protanopia 1% of men
  • #007ccb Deuteranopia 1% of men
  • #986f77 Tritanopia 0.001% of the population
Trichromacy
  • #3f57ed Protanomaly 1% of men, 0.01% of women
  • #3f5bdc Deuteranomaly 6% of men, 0.4% of women
  • #a052a6 Tritanomaly 0.01% of the population