#7840D4

Purple

HEX

RGB

HSL

About #7840D4 Purple

#7840D4 is a purple color. In the RGB color model, it is composed of 120 red, 64 green, and 212 blue. In the HSL color space, it has a hue of 263°, saturation of 63%, and lightness of 54%.

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

Color Properties

263°

Hue

63%

Saturation

54%

Lightness

Purple

Color Harmonies

Colors that work well with #7840D4 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #7840D4 against white and black backgrounds.

Aa#7840D4 on White
Contrast Ratio6.03:1
AA AA Large AAA
Aa#7840D4 on Black
Contrast Ratio3.48:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #7840D4 across different color formats.

FormatValue
HEX#7840D4
RGBrgb(120, 64, 212)
HSLhsl(263, 63%, 54%)
RGB Decimal120, 64, 212
RGB Percent47.1%, 25.1%, 83.1%
CMYK (approx.)43%, 70%, 0%, 17%

Related Palettes

12 palettes using #7840D4 or similar colors

#1E2FAE#7B41D8#DB7DE8#F7BAE0
#1629B6#7A3FD9#DD7BEA#F6BBE0
#2630A6#8042D6#E279EC#F7BADE
#222AC3#7D45DE#CF79E7#F0ADE3
#192EB3#763ADF#DC7AEB#F5BDE0
#2222C3#8545DE#D579E7#F0ADE0
#1C1C1C#533483#6F3DC2#EB5B00
#2138AB#6F35E3#D57FE6#F6BCE2
#151BB7#8738E0#E37FE6#F4BEDB
#2822C3#8A45DE#D979E7#F0ADDD
#4DE575#754DE5#E5754D#BCF5CB
#7D4DE5#E57D4D#4DE57D#CEBCF5