#795DAB

#795dab ≈ Royal Purple

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

#795dab 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.47% green and 67.06% blue; printed in CMYK it uses 29.24% cyan, 45.61% magenta, 0% yellow and 32.94% black. Its hue angle is 261.54°, with 31.71% saturation and 51.76% 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.29:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.76.

Description generated from the measured properties of this color.

Conversions of #795dab into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1483

Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #716689 ≈ 0.001% of males
Protanopia #466bae ≈ 1.01% of males
Deuteranopia #4c6ba9 ≈ 1.27% of males
Tritanopia #6f6b7c ≈ 0.0001% of males
Protanomaly #5e66ad ≈ 1.08% of males
Deuteranomaly #6166aa ≈ 4.63% of males
Tritanomaly #736691 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-795dab {
  color: #795dab;
}
Background
.bg-795dab {
  background-color: #795dab;
  color: #ffffff;
}
Border
.border-795dab {
  border: 2px solid #795dab;
}
CSS variables
:root {
  --color-primary: #795dab;
  --color-primary-rgb: 121 93 171;
  --color-primary-hsl: 262 32% 52%;
}
Gradient
.gradient-795dab {
  background: linear-gradient(135deg, #795dab, #a05dab);
}
Colored shadow
.shadow-795dab {
  box-shadow: 0 8px 24px rgb(121 93 171 / 0.35);
}

Royal Purple
#795dab  rgb(121, 93, 171)  hsl(262, 32%, 52%)  Royal Purple
#8fab5d  rgb(143, 171, 93)  hsl(82, 32%, 52%)  Asparagus
#ab795d  rgb(171, 121, 93)  hsl(22, 32%, 52%)  Cafe au Lait
#5dab79  rgb(93, 171, 121)  hsl(142, 32%, 52%)  Medium Sea Green