#874BB2

#874bb2 ≈ Royal Purple

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

#874bb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 52.94% red, 29.41% green and 69.8% blue; printed in CMYK it uses 24.16% cyan, 57.87% magenta, 0% yellow and 30.2% black. Its hue angle is 274.95°, with 40.71% saturation and 49.61% 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.71:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.61.

Description generated from the measured properties of this color.

Conversions of #874bb2 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.134

Readable text 5.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.68:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #755d8b ≈ 0.001% of males
Protanopia #2664b5 ≈ 1.01% of males
Deuteranopia #3e67b0 ≈ 1.27% of males
Tritanopia #815e77 ≈ 0.0001% of males
Protanomaly #5d5bb4 ≈ 1.08% of males
Deuteranomaly #635db1 ≈ 4.63% of males
Tritanomaly #835792 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-874bb2 {
  color: #874bb2;
}
Background
.bg-874bb2 {
  background-color: #874bb2;
  color: #ffffff;
}
Border
.border-874bb2 {
  border: 2px solid #874bb2;
}
CSS variables
:root {
  --color-primary: #874bb2;
  --color-primary-rgb: 135 75 178;
  --color-primary-hsl: 275 41% 50%;
}
Gradient
.gradient-874bb2 {
  background: linear-gradient(135deg, #874bb2, #b24baa);
}
Colored shadow
.shadow-874bb2 {
  box-shadow: 0 8px 24px rgb(135 75 178 / 0.35);
}

Royal Purple
#874bb2  rgb(135, 75, 178)  hsl(275, 41%, 50%)  Royal Purple
#76b24b  rgb(118, 178, 75)  hsl(95, 41%, 50%)  Mantis
#b2874b  rgb(178, 135, 75)  hsl(35, 41%, 50%)  Camel
#4bb287  rgb(75, 178, 135)  hsl(155, 41%, 50%)  Mint