#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.
| Format | Value |
|---|---|
| HEX | #542DC8 |
| RGB | rgb(84, 45, 200) |
| HSL | hsl(255, 63%, 48%) |
| RGB Decimal | 84, 45, 200 |
| RGB Percent | 32.9%, 17.6%, 78.4% |
| CMYK (approx.) | 58%, 78%, 0%, 22% |
Related Palettes
12 palettes using #542DC8 or similar colors