#804EB8

#804eb8 ≈ Royal Purple

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

#804eb8 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.59% green and 72.16% blue; printed in CMYK it uses 30.43% cyan, 57.61% magenta, 0% yellow and 27.84% black. Its hue angle is 268.3°, with 42.74% saturation and 51.37% 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.68:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.97.

Description generated from the measured properties of this color.

Conversions of #804eb8 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.135

Readable text 5.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.7:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #725e8f ≈ 0.001% of males
Protanopia #2166bb ≈ 1.01% of males
Deuteranopia #3567b6 ≈ 1.27% of males
Tritanopia #75637b ≈ 0.0001% of males
Protanomaly #575dba ≈ 1.08% of males
Deuteranomaly #5c5eb7 ≈ 4.63% of males
Tritanomaly #7a5b97 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-804eb8 {
  color: #804eb8;
}
Background
.bg-804eb8 {
  background-color: #804eb8;
  color: #ffffff;
}
Border
.border-804eb8 {
  border: 2px solid #804eb8;
}
CSS variables
:root {
  --color-primary: #804eb8;
  --color-primary-rgb: 128 78 184;
  --color-primary-hsl: 268 43% 51%;
}
Gradient
.gradient-804eb8 {
  background: linear-gradient(135deg, #804eb8, #b54eb8);
}
Colored shadow
.shadow-804eb8 {
  box-shadow: 0 8px 24px rgb(128 78 184 / 0.35);
}

Royal Purple
#804eb8  rgb(128, 78, 184)  hsl(268, 43%, 51%)  Royal Purple
#86b84e  rgb(134, 184, 78)  hsl(88, 43%, 51%)  Pistachio
#b8804e  rgb(184, 128, 78)  hsl(28, 43%, 51%)  Copper
#4eb880  rgb(78, 184, 128)  hsl(148, 43%, 51%)  Medium Sea Green