#785F9F

#785f9f ≈ Royal Purple

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

#785f9f is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 37.25% green and 62.35% blue; printed in CMYK it uses 24.53% cyan, 40.25% magenta, 0% yellow and 37.65% black. Its hue angle is 263.44°, with 25.2% saturation and 49.8% 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.34:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.45.

Description generated from the measured properties of this color.

Conversions of #785f9f 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.1468

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #706683 ≈ 0.001% of males
Protanopia #4f6ba1 ≈ 1.01% of males
Deuteranopia #546b9d ≈ 1.27% of males
Tritanopia #716a77 ≈ 0.0001% of males
Protanomaly #6266a0 ≈ 1.08% of males
Deuteranomaly #64669e ≈ 4.63% of males
Tritanomaly #746689 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-785f9f {
  color: #785f9f;
}
Background
.bg-785f9f {
  background-color: #785f9f;
  color: #ffffff;
}
Border
.border-785f9f {
  border: 2px solid #785f9f;
}
CSS variables
:root {
  --color-primary: #785f9f;
  --color-primary-rgb: 120 95 159;
  --color-primary-hsl: 263 25% 50%;
}
Gradient
.gradient-785f9f {
  background: linear-gradient(135deg, #785f9f, #985f9f);
}
Colored shadow
.shadow-785f9f {
  box-shadow: 0 8px 24px rgb(120 95 159 / 0.35);
}

Royal Purple
#785f9f  rgb(120, 95, 159)  hsl(263, 25%, 50%)  Royal Purple
#869f5f  rgb(134, 159, 95)  hsl(83, 25%, 50%)  Moss Green
#9f785f  rgb(159, 120, 95)  hsl(23, 25%, 50%)  Cafe au Lait
#5f9f78  rgb(95, 159, 120)  hsl(143, 25%, 50%)  Jungle Green