#5127DD
Purple
HEX
RGB
HSL
About #5127DD Purple
#5127DD is a purple color. In the RGB color model, it is composed of 81 red, 39 green, and 221 blue. In the HSL color space, it has a hue of 254°, saturation of 73%, and lightness of 51%.
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 & Gradients
Use #5127DD in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
254°
Hue
73%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #5127DD based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5127DD against white and black backgrounds.
Aa#5127DD on White
Contrast Ratio7.82:1
AA ✓AA Large ✓AAA ✓
Aa#5127DD on Black
Contrast Ratio2.68:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5127DD across different color formats.
| Format | Value |
|---|---|
| HEX | #5127DD |
| RGB | rgb(81, 39, 221) |
| HSL | hsl(254, 73%, 51%) |
| RGB Decimal | 81, 39, 221 |
| RGB Percent | 31.8%, 15.3%, 86.7% |
| CMYK (approx.) | 63%, 82%, 0%, 13% |
Related Palettes
12 palettes using #5127DD or similar colors