#804BAE

#804bae ≈ Royal Purple

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

#804bae is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.2% red, 29.41% green and 68.24% blue; printed in CMYK it uses 26.44% cyan, 56.9% magenta, 0% yellow and 31.76% black. Its hue angle is 272.12°, with 39.76% saturation and 48.82% 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.94:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.48.

Description generated from the measured properties of this color.

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

Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #705b88 ≈ 0.001% of males
Protanopia #2762b1 ≈ 1.01% of males
Deuteranopia #3b64ac ≈ 1.27% of males
Tritanopia #795e75 ≈ 0.0001% of males
Protanomaly #585ab0 ≈ 1.08% of males
Deuteranomaly #5e5bad ≈ 4.63% of males
Tritanomaly #7c578f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-804bae {
  color: #804bae;
}
Background
.bg-804bae {
  background-color: #804bae;
  color: #ffffff;
}
Border
.border-804bae {
  border: 2px solid #804bae;
}
CSS variables
:root {
  --color-primary: #804bae;
  --color-primary-rgb: 128 75 174;
  --color-primary-hsl: 272 40% 49%;
}
Gradient
.gradient-804bae {
  background: linear-gradient(135deg, #804bae, #ae4baa);
}
Colored shadow
.shadow-804bae {
  box-shadow: 0 8px 24px rgb(128 75 174 / 0.35);
}

Royal Purple
#804bae  rgb(128, 75, 174)  hsl(272, 40%, 49%)  Royal Purple
#79ae4b  rgb(121, 174, 75)  hsl(92, 40%, 49%)  Asparagus
#ae804b  rgb(174, 128, 75)  hsl(32, 40%, 49%)  Cafe au Lait
#4bae80  rgb(75, 174, 128)  hsl(152, 40%, 49%)  Mint