#5126DF
Purple
HEX
RGB
HSL
About #5126DF Purple
#5126DF is a purple color. In the RGB color model, it is composed of 81 red, 38 green, and 223 blue. In the HSL color space, it has a hue of 254°, saturation of 74%, 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
Use #5126DF in your CSS, SCSS, or Tailwind projects.
Color Properties
254°
Hue
74%
Saturation
51%
Lightness
Purple
Color Harmonies
Colors that work well with #5126DF based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5126DF against white and black backgrounds.
Aa#5126DF on White
Contrast Ratio7.8:1
AA ✓AA Large ✓AAA ✓
Aa#5126DF on Black
Contrast Ratio2.69:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #5126DF across different color formats.
| Format | Value |
|---|---|
| HEX | #5126DF |
| RGB | rgb(81, 38, 223) |
| HSL | hsl(254, 74%, 51%) |
| RGB Decimal | 81, 38, 223 |
| RGB Percent | 31.8%, 14.9%, 87.5% |
| CMYK (approx.) | 64%, 83%, 0%, 13% |
Related Palettes
12 palettes using #5126DF or similar colors