#8A40D4

Purple

HEX

RGB

HSL

About #8A40D4 Purple

#8A40D4 is a purple color. In the RGB color model, it is composed of 138 red, 64 green, and 212 blue. In the HSL color space, it has a hue of 270°, 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 #8A40D4 in your CSS, SCSS, or Tailwind projects.

Color Properties

270°

Hue

63%

Saturation

54%

Lightness

Purple

Color Harmonies

Colors that work well with #8A40D4 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #8A40D4 against white and black backgrounds.

Aa#8A40D4 on White
Contrast Ratio5.58:1
AA AA Large AAA
Aa#8A40D4 on Black
Contrast Ratio3.76:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #8A40D4 across different color formats.

FormatValue
HEX#8A40D4
RGBrgb(138, 64, 212)
HSLhsl(270, 63%, 54%)
RGB Decimal138, 64, 212
RGB Percent54.1%, 25.1%, 83.1%
CMYK (approx.)35%, 70%, 0%, 17%

Related Palettes

12 palettes using #8A40D4 or similar colors

#2B26A6#9144D5#E580E1#F1C1D7
#2630A6#8042D6#E279EC#F7BADE
#7BC9CF#5167CB#8C38CD#B64E95
#2822C3#8A45DE#D979E7#F0ADDD
#5DD4D4#5A76CA#8744CA#BA5DA3
#6ACDD6#5C6DC0#903DCB#CB66A9
#2522C3#8745DE#D779E7#F0ADDE
#2222C3#8545DE#D579E7#F0ADE0
#2835A4#7E44D4#DF7BEA#F1C1DE
#151BB7#8738E0#E37FE6#F4BEDB
#1E2FAE#7B41D8#DB7DE8#F7BAE0
#3522C3#9645DE#E279E7#F0ADD8