#6228D7
Purple
HEX
RGB
HSL
About #6228D7 Purple
#6228D7 is a purple color. In the RGB color model, it is composed of 98 red, 40 green, and 215 blue. In the HSL color space, it has a hue of 260°, saturation of 69%, and lightness of 50%.
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 #6228D7 in your CSS, SCSS, or Tailwind projects.
Color Properties
260°
Hue
69%
Saturation
50%
Lightness
Purple
Color Harmonies
Colors that work well with #6228D7 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6228D7 against white and black backgrounds.
Aa#6228D7 on White
Contrast Ratio7.49:1
AA ✓AA Large ✓AAA ✓
Aa#6228D7 on Black
Contrast Ratio2.8:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #6228D7 across different color formats.
| Format | Value |
|---|---|
| HEX | #6228D7 |
| RGB | rgb(98, 40, 215) |
| HSL | hsl(260, 69%, 50%) |
| RGB Decimal | 98, 40, 215 |
| RGB Percent | 38.4%, 15.7%, 84.3% |
| CMYK (approx.) | 54%, 81%, 0%, 16% |
Related Palettes
12 palettes using #6228D7 or similar colors