#845FA2

#845fa2 ≈ Royal Purple

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

#845fa2 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 63.53% blue; printed in CMYK it uses 18.52% cyan, 41.36% magenta, 0% yellow and 36.47% black. Its hue angle is 273.13°, with 26.48% saturation and 50.39% 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.07:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.91.

Description generated from the measured properties of this color.

Conversions of #845fa2 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.157

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #786986 ≈ 0.001% of males
Protanopia #516da4 ≈ 1.01% of males
Deuteranopia #596fa0 ≈ 1.27% of males
Tritanopia #806979 ≈ 0.0001% of males
Protanomaly #6968a3 ≈ 1.08% of males
Deuteranomaly #6d69a1 ≈ 4.63% of males
Tritanomaly #82658b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-845fa2 {
  color: #845fa2;
}
Background
.bg-845fa2 {
  background-color: #845fa2;
  color: #ffffff;
}
Border
.border-845fa2 {
  border: 2px solid #845fa2;
}
CSS variables
:root {
  --color-primary: #845fa2;
  --color-primary-rgb: 132 95 162;
  --color-primary-hsl: 273 26% 50%;
}
Gradient
.gradient-845fa2 {
  background: linear-gradient(135deg, #845fa2, #a25f9e);
}
Colored shadow
.shadow-845fa2 {
  box-shadow: 0 8px 24px rgb(132 95 162 / 0.35);
}

Royal Purple
#845fa2  rgb(132, 95, 162)  hsl(273, 26%, 50%)  Royal Purple
#7da25f  rgb(125, 162, 95)  hsl(93, 26%, 50%)  Asparagus
#a2845f  rgb(162, 132, 95)  hsl(33, 26%, 50%)  Cafe au Lait
#5fa284  rgb(95, 162, 132)  hsl(153, 26%, 50%)  Jungle Green