#512DC8
Purple
HEX
RGB
HSL
About #512DC8 Purple
#512DC8 is a purple color. In the RGB color model, it is composed of 81 red, 45 green, and 200 blue. In the HSL color space, it has a hue of 254°, 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 #512DC8 in your CSS, SCSS, or Tailwind projects.
Color Properties
254°
Hue
63%
Saturation
48%
Lightness
Purple
Color Harmonies
Colors that work well with #512DC8 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #512DC8 against white and black backgrounds.
Aa#512DC8 on White
Contrast Ratio8.21:1
AA ✓AA Large ✓AAA ✓
Aa#512DC8 on Black
Contrast Ratio2.56:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #512DC8 across different color formats.
| Format | Value |
|---|---|
| HEX | #512DC8 |
| RGB | rgb(81, 45, 200) |
| HSL | hsl(254, 63%, 48%) |
| RGB Decimal | 81, 45, 200 |
| RGB Percent | 31.8%, 17.6%, 78.4% |
| CMYK (approx.) | 60%, 78%, 0%, 22% |
Related Palettes
12 palettes using #512DC8 or similar colors