#6838D6
Purple
HEX
RGB
HSL
About #6838D6 Purple
#6838D6 is a purple color. In the RGB color model, it is composed of 104 red, 56 green, and 214 blue. In the HSL color space, it has a hue of 258°, saturation of 66%, and lightness of 53%.
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 #6838D6 in your CSS, SCSS, or Tailwind projects.
Color Properties
258°
Hue
66%
Saturation
53%
Lightness
Purple
Color Harmonies
Colors that work well with #6838D6 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #6838D6 against white and black backgrounds.
Aa#6838D6 on White
Contrast Ratio6.72:1
AA ✓AA Large ✓AAA ✗
Aa#6838D6 on Black
Contrast Ratio3.13:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #6838D6 across different color formats.
| Format | Value |
|---|---|
| HEX | #6838D6 |
| RGB | rgb(104, 56, 214) |
| HSL | hsl(258, 66%, 53%) |
| RGB Decimal | 104, 56, 214 |
| RGB Percent | 40.8%, 22.0%, 83.9% |
| CMYK (approx.) | 51%, 74%, 0%, 16% |
Related Palettes
12 palettes using #6838D6 or similar colors