#7940C4

Purple

HEX

RGB

HSL

About #7940C4 Purple

#7940C4 is a purple color. In the RGB color model, it is composed of 121 red, 64 green, and 196 blue. In the HSL color space, it has a hue of 266°, saturation of 53%, and lightness of 51%.

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 #7940C4 in your CSS, SCSS, or Tailwind projects.

Color Properties

266°

Hue

53%

Saturation

51%

Lightness

Purple

Color Harmonies

Colors that work well with #7940C4 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #7940C4 against white and black backgrounds.

Aa#7940C4 on White
Contrast Ratio6.28:1
AA AA Large AAA
Aa#7940C4 on Black
Contrast Ratio3.34:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #7940C4 across different color formats.

FormatValue
HEX#7940C4
RGBrgb(121, 64, 196)
HSLhsl(266, 53%, 51%)
RGB Decimal121, 64, 196
RGB Percent47.5%, 25.1%, 76.9%
CMYK (approx.)38%, 67%, 0%, 23%

Related Palettes

12 palettes using #7940C4 or similar colors

#5F89CC#7242C5#D15DC4#C56975
#6688CB#7645BC#D378C3#BE656D
#1C1C1C#533483#6F3DC2#EB5B00
#6E3CBC#7267CB#9D81D6#D4B8E0
#5DD4D4#5A76CA#8744CA#BA5DA3
#2835A4#7E44D4#DF7BEA#F1C1DE
#41BFAD#527CBA#7B50CB#BE67B6
#4280C3#6845C7#C362C2#C05C73
#72CDCD#5C79D1#884BC6#C679B3
#894AC7#C951AB#C87878#CDB364
#2630A6#8042D6#E279EC#F7BADE
#1E2FAE#7B41D8#DB7DE8#F7BAE0