#ba21ec Color Information

In a RGB color space, hex #ba21ec is composed of 72.9% red, 12.9% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 21.2% cyan, 86% magenta, 0% yellow and 7.5% black. It has a hue angle of 285.2 degrees, a saturation of 84.2% and a lightness of 52.7%. #ba21ec color hex could be obtained by blending #ff42ff with #7500d9. Closest websafe color is: #cc33ff.

    • R 73
    • G 13
    • B 93
    RGB color chart
    • C 21
    • M 86
    • Y 0
    • K 7
    CMYK color chart

#ba21ec color description : Vivid magenta.

#ba21ec Color Conversion

The hexadecimal color #ba21ec has RGB values of R:186, G:33, B:236 and CMYK values of C:0.21, M:0.86, Y:0, K:0.07. Its decimal value is 12198380.

Hex triplet ba21ec #ba21ec
RGB Decimal 186, 33, 236 rgb(186,33,236)
RGB Percent 72.9, 12.9, 92.5 rgb(72.9%,12.9%,92.5%)
CMYK 21, 86, 0, 7
HSL 285.2°, 84.2, 52.7 hsl(285.2,84.2%,52.7%)
HSV (or HSB) 285.2°, 86, 92.5
Web Safe cc33ff #cc33ff
CIE-LAB 48.988, 81.414, -69.062
XYZ 35.932, 17.584, 80.854
xyY 0.267, 0.131, 17.584
CIE-LCH 48.988, 106.761, 319.693
CIE-LUV 48.988, 42.805, -112.393
Hunter-Lab 41.934, 79.568, -84.965
Binary 10111010, 00100001, 11101100

Color Schemes with #ba21ec

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

Alternatives to #ba21ec

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

Similar Colors

#ba21ec Preview

Text with hexadecimal color #ba21ec

This text has a font color of #ba21ec.

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

This paragraph has a background color of #ba21ec.

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

This element has a border color of #ba21ec.

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

Shades and Tints of #ba21ec

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, #0a010d is the darkest color, while #fdfaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #ba21ec

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #ba21ec 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
  • #666666 Achromatopsia 0.005% of the population
  • #775881 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0078e9 Protanopia 1% of men
  • #007dd0 Deuteranopia 1% of men
  • #a86a71 Tritanopia 0.001% of the population
Trichromacy
  • #4358ea Protanomaly 1% of men, 0.01% of women
  • #435cda Deuteranomaly 6% of men, 0.4% of women
  • #ae4f9d Tritanomaly 0.01% of the population