#784FA8

#784fa8 ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#784fa8 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 30.98% green and 65.88% blue; printed in CMYK it uses 28.57% cyan, 52.98% magenta, 0% yellow and 34.12% black. Its hue angle is 267.64°, with 36.03% saturation and 48.43% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 6.03:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 0.6.

Description generated from the measured properties of this color.

Conversions of #784fa8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1241

Readable text 6.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6c5b84 ≈ 0.001% of males
Protanopia #3162ab ≈ 1.01% of males
Deuteranopia #3d63a6 ≈ 1.27% of males
Tritanopia #6f6074 ≈ 0.0001% of males
Protanomaly #565baa ≈ 1.08% of males
Deuteranomaly #5a5ba7 ≈ 4.63% of males
Tritanomaly #73598c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-784fa8 {
  color: #784fa8;
}
Background
.bg-784fa8 {
  background-color: #784fa8;
  color: #ffffff;
}
Border
.border-784fa8 {
  border: 2px solid #784fa8;
}
CSS variables
:root {
  --color-primary: #784fa8;
  --color-primary-rgb: 120 79 168;
  --color-primary-hsl: 268 36% 48%;
}
Gradient
.gradient-784fa8 {
  background: linear-gradient(135deg, #784fa8, #a44fa8);
}
Colored shadow
.shadow-784fa8 {
  box-shadow: 0 8px 24px rgb(120 79 168 / 0.35);
}

Royal Purple
#784fa8  rgb(120, 79, 168)  hsl(268, 36%, 48%)  Royal Purple
#7fa84f  rgb(127, 168, 79)  hsl(88, 36%, 48%)  Asparagus
#a8784f  rgb(168, 120, 79)  hsl(28, 36%, 48%)  Cafe au Lait
#4fa878  rgb(79, 168, 120)  hsl(148, 36%, 48%)  Mint