#5940C9

Purple

HEX

RGB

HSL

About #5940C9 Purple

#5940C9 is a purple color. In the RGB color model, it is composed of 89 red, 64 green, and 201 blue. In the HSL color space, it has a hue of 251°, saturation of 56%, and lightness of 52%.

This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #5940C9 in your CSS, SCSS, or Tailwind projects.

Color Properties

251°

Hue

56%

Saturation

52%

Lightness

Purple

Color Harmonies

Colors that work well with #5940C9 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #5940C9 against white and black backgrounds.

Aa#5940C9 on White
Contrast Ratio7:1
AA AA Large AAA
Aa#5940C9 on Black
Contrast Ratio3:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5940C9 across different color formats.

FormatValue
HEX#5940C9
RGBrgb(89, 64, 201)
HSLhsl(251, 56%, 52%)
RGB Decimal89, 64, 201
RGB Percent34.9%, 25.1%, 78.8%
CMYK (approx.)56%, 68%, 0%, 21%

Related Palettes

12 palettes using #5940C9 or similar colors

#4990C3#533CCA#B74FC1#C35E7F
#5087BB#6042C0#C777C8#C76B84
#1D52AF#5844D4#C081E4#F5BCEE
#2550A7#5E46D2#C47EE7#F5BDEB
#7DCEBE#5280B8#653BCA#D66CD1
#5646BD#C250D1#C76589#CF916B
#4280C3#6845C7#C362C2#C05C73
#45BE8A#599BBA#4940C8#AC46C3
#5846B9#CC76D5#C63A6B#CE9671
#664BC7#D569D9#BA5D78#CE9D71
#1744B5#603FDA#CA7CE9#F7BAEA
#514FC1#AC66C2#BE4F85#D28A70