#D98EF2
Purple
HEX
RGB
HSL
About #D98EF2 Purple
#D98EF2 is a purple color. In the RGB color model, it is composed of 217 red, 142 green, and 242 blue. In the HSL color space, it has a hue of 285°, saturation of 79%, and lightness of 75%.
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 #D98EF2 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
285°
Hue
79%
Saturation
75%
Lightness
Purple
Color Harmonies
Colors that work well with #D98EF2 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #D98EF2 against white and black backgrounds.
Aa#D98EF2 on White
Contrast Ratio2.31:1
AA ✗AA Large ✗AAA ✗
Aa#D98EF2 on Black
Contrast Ratio9.1:1
AA ✓AA Large ✓AAA ✓
Color Conversion Table
Complete conversion of #D98EF2 across different color formats.
| Format | Value |
|---|---|
| HEX | #D98EF2 |
| RGB | rgb(217, 142, 242) |
| HSL | hsl(285, 79%, 75%) |
| RGB Decimal | 217, 142, 242 |
| RGB Percent | 85.1%, 55.7%, 94.9% |
| CMYK (approx.) | 10%, 41%, 0%, 5% |
Related Palettes
12 palettes using #D98EF2 or similar colors