#5238C7
Purple
HEX
RGB
HSL
About #5238C7 Purple
#5238C7 is a purple color. In the RGB color model, it is composed of 82 red, 56 green, and 199 blue. In the HSL color space, it has a hue of 251°, saturation of 56%, and lightness of 50%.
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 #5238C7 in your CSS, SCSS, or Tailwind projects.
Color Properties
251°
Hue
56%
Saturation
50%
Lightness
Purple
Color Harmonies
Colors that work well with #5238C7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5238C7 against white and black backgrounds.
Aa#5238C7 on White
Contrast Ratio7.64:1
AA ✓AA Large ✓AAA ✓
Aa#5238C7 on Black
Contrast Ratio2.75:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5238C7 across different color formats.
| Format | Value |
|---|---|
| HEX | #5238C7 |
| RGB | rgb(82, 56, 199) |
| HSL | hsl(251, 56%, 50%) |
| RGB Decimal | 82, 56, 199 |
| RGB Percent | 32.2%, 22.0%, 78.0% |
| CMYK (approx.) | 59%, 72%, 0%, 22% |
Related Palettes
12 palettes using #5238C7 or similar colors