#795EB4

#795eb4 ≈ Royal Purple

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

#795eb4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 36.86% green and 70.59% blue; printed in CMYK it uses 32.78% cyan, 47.78% magenta, 0% yellow and 29.41% black. Its hue angle is 258.84°, with 36.44% saturation and 53.73% 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.16:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.34.

Description generated from the measured properties of this color.

Conversions of #795eb4 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.1537

Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #72678f ≈ 0.001% of males
Protanopia #416eb7 ≈ 1.01% of males
Deuteranopia #476cb2 ≈ 1.27% of males
Tritanopia #6c6e80 ≈ 0.0001% of males
Protanomaly #5d68b6 ≈ 1.08% of males
Deuteranomaly #5f67b3 ≈ 4.63% of males
Tritanomaly #716898 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-795eb4 {
  color: #795eb4;
}
Background
.bg-795eb4 {
  background-color: #795eb4;
  color: #ffffff;
}
Border
.border-795eb4 {
  border: 2px solid #795eb4;
}
CSS variables
:root {
  --color-primary: #795eb4;
  --color-primary-rgb: 121 94 180;
  --color-primary-hsl: 259 36% 54%;
}
Gradient
.gradient-795eb4 {
  background: linear-gradient(135deg, #795eb4, #a45eb4);
}
Colored shadow
.shadow-795eb4 {
  box-shadow: 0 8px 24px rgb(121 94 180 / 0.35);
}

Royal Purple
#795eb4  rgb(121, 94, 180)  hsl(259, 36%, 54%)  Royal Purple
#99b45e  rgb(153, 180, 94)  hsl(79, 36%, 54%)  Olivine
#b4795e  rgb(180, 121, 94)  hsl(19, 36%, 54%)  Cafe au Lait
#5eb479  rgb(94, 180, 121)  hsl(139, 36%, 54%)  Medium Sea Green