#845FAC

#845fac ≈ Royal Purple

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

#845fac is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 51.76% red, 37.25% green and 67.45% blue; printed in CMYK it uses 23.26% cyan, 44.77% magenta, 0% yellow and 32.55% black. Its hue angle is 268.83°, with 31.69% saturation and 52.35% 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 4.98:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.95.

Description generated from the measured properties of this color.

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

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #78698c ≈ 0.001% of males
Protanopia #4b6eaf ≈ 1.01% of males
Deuteranopia #5470aa ≈ 1.27% of males
Tritanopia #7e6c7d ≈ 0.0001% of males
Protanomaly #6769ae ≈ 1.08% of males
Deuteranomaly #6b69ab ≈ 4.63% of males
Tritanomaly #806792 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-845fac {
  color: #845fac;
}
Background
.bg-845fac {
  background-color: #845fac;
  color: #ffffff;
}
Border
.border-845fac {
  border: 2px solid #845fac;
}
CSS variables
:root {
  --color-primary: #845fac;
  --color-primary-rgb: 132 95 172;
  --color-primary-hsl: 269 32% 52%;
}
Gradient
.gradient-845fac {
  background: linear-gradient(135deg, #845fac, #aa5fac);
}
Colored shadow
.shadow-845fac {
  box-shadow: 0 8px 24px rgb(132 95 172 / 0.35);
}

Royal Purple
#845fac  rgb(132, 95, 172)  hsl(269, 32%, 52%)  Royal Purple
#87ac5f  rgb(135, 172, 95)  hsl(89, 32%, 52%)  Asparagus
#ac845f  rgb(172, 132, 95)  hsl(29, 32%, 52%)  Cafe au Lait
#5fac84  rgb(95, 172, 132)  hsl(149, 32%, 52%)  Mint