#796DBA

#796dba ≈ Medium Purple

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#796dba is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 42.75% green and 72.94% blue; printed in CMYK it uses 34.95% cyan, 41.4% magenta, 0% yellow and 27.06% black. Its hue angle is 249.35°, with 35.81% saturation and 57.84% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 4.71:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 7.15.

Description generated from the measured properties of this color.

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

Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #787397 ≈ 0.001% of males
Protanopia #5479bd ≈ 1.01% of males
Deuteranopia #5576b8 ≈ 1.27% of males
Tritanopia #697c8a ≈ 0.0001% of males
Protanomaly #6574bc ≈ 1.08% of males
Deuteranomaly #6572b9 ≈ 4.63% of males
Tritanomaly #7076a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-796dba {
  color: #796dba;
}
Background
.bg-796dba {
  background-color: #796dba;
  color: #000000;
}
Border
.border-796dba {
  border: 2px solid #796dba;
}
CSS variables
:root {
  --color-primary: #796dba;
  --color-primary-rgb: 121 109 186;
  --color-primary-hsl: 249 36% 58%;
}
Gradient
.gradient-796dba {
  background: linear-gradient(135deg, #796dba, #9f6dba);
}
Colored shadow
.shadow-796dba {
  box-shadow: 0 8px 24px rgb(121 109 186 / 0.35);
}

Medium Purple
#796dba  rgb(121, 109, 186)  hsl(249, 36%, 58%)  Medium Purple
#aeba6d  rgb(174, 186, 109)  hsl(69, 36%, 58%)  Dark Khaki
#ba796d  rgb(186, 121, 109)  hsl(9, 36%, 58%)  Old Rose
#6dba79  rgb(109, 186, 121)  hsl(129, 36%, 58%)  Emerald