#5838E5
Purple
HEX
RGB
HSL
About #5838E5 Purple
#5838E5 is a purple color. In the RGB color model, it is composed of 88 red, 56 green, and 229 blue. In the HSL color space, it has a hue of 251°, saturation of 77%, and lightness of 56%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With high saturation, it appears vibrant and eye-catching.
CSS Code
Use #5838E5 in your CSS, SCSS, or Tailwind projects.
Color Properties
251°
Hue
77%
Saturation
56%
Lightness
Purple
Color Harmonies
Colors that work well with #5838E5 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5838E5 against white and black backgrounds.
Aa#5838E5 on White
Contrast Ratio6.75:1
AA ✓AA Large ✓AAA ✗
Aa#5838E5 on Black
Contrast Ratio3.11:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #5838E5 across different color formats.
| Format | Value |
|---|---|
| HEX | #5838E5 |
| RGB | rgb(88, 56, 229) |
| HSL | hsl(251, 77%, 56%) |
| RGB Decimal | 88, 56, 229 |
| RGB Percent | 34.5%, 22.0%, 89.8% |
| CMYK (approx.) | 62%, 76%, 0%, 10% |
Related Palettes
12 palettes using #5838E5 or similar colors