#834CBA

#834cba ≈ Royal Purple

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

#834cba is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 51.37% red, 29.8% green and 72.94% blue; printed in CMYK it uses 29.57% cyan, 59.14% magenta, 0% yellow and 27.06% black. Its hue angle is 270°, with 44.35% 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.66:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.63.

Description generated from the measured properties of this color.

Conversions of #834cba into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9933cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1354

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #735d90 ≈ 0.001% of males
Protanopia #1a66be ≈ 1.01% of males
Deuteranopia #3367b7 ≈ 1.27% of males
Tritanopia #79627c ≈ 0.0001% of males
Protanomaly #585cbc ≈ 1.08% of males
Deuteranomaly #5e5db8 ≈ 4.63% of males
Tritanomaly #7d5a99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-834cba {
  color: #834cba;
}
Background
.bg-834cba {
  background-color: #834cba;
  color: #ffffff;
}
Border
.border-834cba {
  border: 2px solid #834cba;
}
CSS variables
:root {
  --color-primary: #834cba;
  --color-primary-rgb: 131 76 186;
  --color-primary-hsl: 270 44% 51%;
}
Gradient
.gradient-834cba {
  background: linear-gradient(135deg, #834cba, #ba4cba);
}
Colored shadow
.shadow-834cba {
  box-shadow: 0 8px 24px rgb(131 76 186 / 0.35);
}

Royal Purple
#834cba  rgb(131, 76, 186)  hsl(270, 44%, 51%)  Royal Purple
#83ba4c  rgb(131, 186, 76)  hsl(90, 44%, 51%)  Mantis
#ba834c  rgb(186, 131, 76)  hsl(30, 44%, 51%)  Peru
#4cba83  rgb(76, 186, 131)  hsl(150, 44%, 51%)  Medium Sea Green