#AF81E4
Purple
HEX
RGB
HSL
About #AF81E4 Purple
#AF81E4 is a purple color. In the RGB color model, it is composed of 175 red, 129 green, and 228 blue. In the HSL color space, it has a hue of 268°, saturation of 65%, and lightness of 70%.
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 #AF81E4 in your CSS, SCSS, or Tailwind projects.
Color Properties
268°
Hue
65%
Saturation
70%
Lightness
Purple
Color Harmonies
Colors that work well with #AF81E4 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #AF81E4 against white and black backgrounds.
Aa#AF81E4 on White
Contrast Ratio2.96:1
AA ✗AA Large ✗AAA ✗
Aa#AF81E4 on Black
Contrast Ratio7.08:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #AF81E4 across different color formats.
| Format | Value |
|---|---|
| HEX | #AF81E4 |
| RGB | rgb(175, 129, 228) |
| HSL | hsl(268, 65%, 70%) |
| RGB Decimal | 175, 129, 228 |
| RGB Percent | 68.6%, 50.6%, 89.4% |
| CMYK (approx.) | 23%, 43%, 0%, 11% |
Related Palettes
12 palettes using #AF81E4 or similar colors