#AF87F1
Purple
HEX
RGB
HSL
About #AF87F1 Purple
#AF87F1 is a purple color. In the RGB color model, it is composed of 175 red, 135 green, and 241 blue. In the HSL color space, it has a hue of 263°, saturation of 79%, and lightness of 74%.
This color has a high lightness value, making it a light color suitable for backgrounds. With high saturation, it appears vibrant and eye-catching.
CSS Code & Gradients
Use #AF87F1 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
263°
Hue
79%
Saturation
74%
Lightness
Purple
Color Harmonies
Colors that work well with #AF87F1 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #AF87F1 against white and black backgrounds.
Aa#AF87F1 on White
Contrast Ratio2.78:1
AA ✗AA Large ✗AAA ✗
Aa#AF87F1 on Black
Contrast Ratio7.56:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #AF87F1 across different color formats.
| Format | Value |
|---|---|
| HEX | #AF87F1 |
| RGB | rgb(175, 135, 241) |
| HSL | hsl(263, 79%, 74%) |
| RGB Decimal | 175, 135, 241 |
| RGB Percent | 68.6%, 52.9%, 94.5% |
| CMYK (approx.) | 27%, 44%, 0%, 5% |
Related Palettes
12 palettes using #AF87F1 or similar colors