#5a51fa Color Information

In a RGB color space, hex #5a51fa is composed of 35.3% red, 31.8% green and 98% blue. Whereas in a CMYK color space, it is composed of 64% cyan, 67.6% magenta, 0% yellow and 2% black. It has a hue angle of 243.2 degrees, a saturation of 94.4% and a lightness of 64.9%. #5a51fa color hex could be obtained by blending #b4a2ff with #0000f5. Closest websafe color is: #6666ff.

    • R 35
    • G 32
    • B 98
    RGB color chart
    • C 64
    • M 68
    • Y 0
    • K 2
    CMYK color chart

#5a51fa color description : Soft blue.

#5a51fa Color Conversion

The hexadecimal color #5a51fa has RGB values of R:90, G:81, B:250 and CMYK values of C:0.64, M:0.68, Y:0, K:0.02. Its decimal value is 5919226.

Hex triplet 5a51fa #5a51fa
RGB Decimal 90, 81, 250 rgb(90,81,250)
RGB Percent 35.3, 31.8, 98 rgb(35.3%,31.8%,98%)
CMYK 64, 68, 0, 2
HSL 243.2°, 94.4, 64.9 hsl(243.2,94.4%,64.9%)
HSV (or HSB) 243.2°, 67.6, 98
Web Safe 6666ff #6666ff
CIE-LAB 45.579, 52.397, -82.933
XYZ 24.411, 14.959, 92.038
xyY 0.186, 0.114, 14.959
CIE-LCH 45.579, 98.099, 302.285
CIE-LUV 45.579, -7.006, -125.525
Hunter-Lab 38.678, 44.972, -114.014
Binary 01011010, 01010001, 11111010

Color Schemes with #5a51fa

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

Alternatives to #5a51fa

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

Similar Colors

#5a51fa Preview

Text with hexadecimal color #5a51fa

This text has a font color of #5a51fa.

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

This paragraph has a background color of #5a51fa.

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

This element has a border color of #5a51fa.

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

Shades and Tints of #5a51fa

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

Shade Color Variation
Tint Color Variation

Tones of #5a51fa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a51fa 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.

  • #676767 Achromatopsia 0.005% of the population
  • #646384 Atypical Achromatopsia 0.001% of the population
  • #0070da Protanopia 1% of men
  • #0076be Deuteranopia 1% of men
  • #007e87 Tritanopia 0.001% of the population
  • #2064e6 Protanomaly 1% of men, 0.01% of women
  • #2068d4 Deuteranomaly 6% of men, 0.4% of women
  • #206eb0 Tritanomaly 0.01% of the population