#804FC5

#804fc5 ≈ Royal Purple

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

#804fc5 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.2% red, 30.98% green and 77.25% blue; printed in CMYK it uses 35.03% cyan, 59.9% magenta, 0% yellow and 22.75% black. Its hue angle is 264.92°, with 50.43% saturation and 54.12% 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 5.47:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.81.

Description generated from the measured properties of this color.

Conversions of #804fc5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1421

Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #736097 ≈ 0.001% of males
Protanopia #0369c9 ≈ 1.01% of males
Deuteranopia #2668c2 ≈ 1.27% of males
Tritanopia #716882 ≈ 0.0001% of males
Protanomaly #5360c7 ≈ 1.08% of males
Deuteranomaly #585fc3 ≈ 4.63% of males
Tritanomaly #775fa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-804fc5 {
  color: #804fc5;
}
Background
.bg-804fc5 {
  background-color: #804fc5;
  color: #ffffff;
}
Border
.border-804fc5 {
  border: 2px solid #804fc5;
}
CSS variables
:root {
  --color-primary: #804fc5;
  --color-primary-rgb: 128 79 197;
  --color-primary-hsl: 265 50% 54%;
}
Gradient
.gradient-804fc5 {
  background: linear-gradient(135deg, #804fc5, #bb4fc5);
}
Colored shadow
.shadow-804fc5 {
  box-shadow: 0 8px 24px rgb(128 79 197 / 0.35);
}

Royal Purple
#804fc5  rgb(128, 79, 197)  hsl(265, 50%, 54%)  Royal Purple
#94c54f  rgb(148, 197, 79)  hsl(85, 50%, 54%)  Yellow Green
#c5804f  rgb(197, 128, 79)  hsl(25, 50%, 54%)  Raw Sienna
#4fc580  rgb(79, 197, 128)  hsl(145, 50%, 54%)  Emerald