#af21ff Color Information

In a RGB color space, hex #af21ff is composed of 68.6% red, 12.9% green and 100% blue. Whereas in a CMYK color space, it is composed of 31.4% cyan, 87.1% magenta, 0% yellow and 0% black. It has a hue angle of 278.4 degrees, a saturation of 100% and a lightness of 56.5%. #af21ff color hex could be obtained by blending #ff42ff with #5f00ff. Closest websafe color is: #9933ff.

    • R 69
    • G 13
    • B 100
    RGB color chart
    • C 31
    • M 87
    • Y 0
    • K 0
    CMYK color chart

#af21ff color description : Vivid violet.

#af21ff Color Conversion

The hexadecimal color #af21ff has RGB values of R:175, G:33, B:255 and CMYK values of C:0.31, M:0.87, Y:0, K:0. Its decimal value is 11477503.

Hex triplet af21ff #af21ff
RGB Decimal 175, 33, 255 rgb(175,33,255)
RGB Percent 68.6, 12.9, 100 rgb(68.6%,12.9%,100%)
CMYK 31, 87, 0, 0
HSL 278.4°, 100, 56.5 hsl(278.4,100%,56.5%)
HSV (or HSB) 278.4°, 87.1, 100
Web Safe 9933ff #9933ff
CIE-LAB 48.788, 83.408, -80.111
XYZ 36.27, 17.423, 96.054
xyY 0.242, 0.116, 17.423
CIE-LCH 48.788, 115.649, 316.155
CIE-LUV 48.788, 31.608, -127.261
Hunter-Lab 41.74, 82.063, -107.222
Binary 10101111, 00100001, 11111111

Color Schemes with #af21ff

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

Alternatives to #af21ff

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

Similar Colors

#af21ff Preview

Text with hexadecimal color #af21ff

This text has a font color of #af21ff.

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

This paragraph has a background color of #af21ff.

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

This element has a border color of #af21ff.

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

Shades and Tints of #af21ff

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, #09000d is the darkest color, while #fdf9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #af21ff

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21ff 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
  • #656565 Achromatopsia 0.005% of the population
  • #745784 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0077e8 Protanopia 1% of men
  • #007dcd Deuteranopia 1% of men
  • #967179 Tritanopia 0.001% of the population
Trichromacy
  • #3f58f0 Protanomaly 1% of men, 0.01% of women
  • #3f5cdf Deuteranomaly 6% of men, 0.4% of women
  • #9f54a9 Tritanomaly 0.01% of the population