#542DC8

Purple

HEX

RGB

HSL

About #542DC8 Purple

#542DC8 is a purple color. In the RGB color model, it is composed of 84 red, 45 green, and 200 blue. In the HSL color space, it has a hue of 255°, saturation of 63%, and lightness of 48%.

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

Color Properties

255°

Hue

63%

Saturation

48%

Lightness

Purple

Color Harmonies

Colors that work well with #542DC8 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #542DC8 against white and black backgrounds.

Aa#542DC8 on White
Contrast Ratio8.12:1
AA AA Large AAA
Aa#542DC8 on Black
Contrast Ratio2.59:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #542DC8 across different color formats.

FormatValue
HEX#542DC8
RGBrgb(84, 45, 200)
HSLhsl(255, 63%, 48%)
RGB Decimal84, 45, 200
RGB Percent32.9%, 17.6%, 78.4%
CMYK (approx.)58%, 78%, 0%, 22%

Related Palettes

12 palettes using #542DC8 or similar colors

#5322C3#B345DE#E779D9#F0ADCB
#5022C3#B045DE#E779DA#F0ADCC
#4022C3#A145DE#E779E5#F0ADD3
#3D22C3#9E45DE#E779E7#F0ADD4
#1D52AF#5844D4#C081E4#F5BCEE
#4126D9#A352E0#E67DE8#F0A8D3
#155BB7#493FD9#B982E3#F3BEF0
#3B22C3#9C45DE#E579E7#F0ADD5
#3E26D9#A052E0#E47DE8#F0A8D4
#2550A7#5E46D2#C47EE7#F5BDEB
#581FAD#D531E8#E77EBD#F3BEC4
#2662A6#423DDC#B681E4#F5BCF3