#845DBA

#845dba ≈ Royal Purple

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

#845dba is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 51.76% red, 36.47% green and 72.94% blue; printed in CMYK it uses 29.03% cyan, 50% magenta, 0% yellow and 27.06% black. Its hue angle is 265.16°, with 40.26% saturation and 54.71% 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.93:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.76.

Description generated from the measured properties of this color.

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

Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #796994 ≈ 0.001% of males
Protanopia #3f70bd ≈ 1.01% of males
Deuteranopia #4970b8 ≈ 1.27% of males
Tritanopia #7a6e83 ≈ 0.0001% of males
Protanomaly #6269bc ≈ 1.08% of males
Deuteranomaly #6669b9 ≈ 4.63% of males
Tritanomaly #7e689c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-845dba {
  color: #845dba;
}
Background
.bg-845dba {
  background-color: #845dba;
  color: #ffffff;
}
Border
.border-845dba {
  border: 2px solid #845dba;
}
CSS variables
:root {
  --color-primary: #845dba;
  --color-primary-rgb: 132 93 186;
  --color-primary-hsl: 265 40% 55%;
}
Gradient
.gradient-845dba {
  background: linear-gradient(135deg, #845dba, #b35dba);
}
Colored shadow
.shadow-845dba {
  box-shadow: 0 8px 24px rgb(132 93 186 / 0.35);
}

Royal Purple
#845dba  rgb(132, 93, 186)  hsl(265, 40%, 55%)  Royal Purple
#93ba5d  rgb(147, 186, 93)  hsl(85, 40%, 55%)  Olivine
#ba845d  rgb(186, 132, 93)  hsl(25, 40%, 55%)  Cafe au Lait
#5dba84  rgb(93, 186, 132)  hsl(145, 40%, 55%)  Medium Sea Green