#784FAF

#784faf ≈ Royal Purple

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

#784faf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 30.98% green and 68.63% blue; printed in CMYK it uses 31.43% cyan, 54.86% magenta, 0% yellow and 31.37% black. Its hue angle is 265.63°, with 37.8% 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.94:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.34.

Description generated from the measured properties of this color.

Conversions of #784faf 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.1268

Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #6c5c88 ≈ 0.001% of males
Protanopia #2a63b2 ≈ 1.01% of males
Deuteranopia #3763ad ≈ 1.27% of males
Tritanopia #6d6277 ≈ 0.0001% of males
Protanomaly #545cb1 ≈ 1.08% of males
Deuteranomaly #585cae ≈ 4.63% of males
Tritanomaly #725b91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-784faf {
  color: #784faf;
}
Background
.bg-784faf {
  background-color: #784faf;
  color: #ffffff;
}
Border
.border-784faf {
  border: 2px solid #784faf;
}
CSS variables
:root {
  --color-primary: #784faf;
  --color-primary-rgb: 120 79 175;
  --color-primary-hsl: 266 38% 50%;
}
Gradient
.gradient-784faf {
  background: linear-gradient(135deg, #784faf, #a84faf);
}
Colored shadow
.shadow-784faf {
  box-shadow: 0 8px 24px rgb(120 79 175 / 0.35);
}

Royal Purple
#784faf  rgb(120, 79, 175)  hsl(266, 38%, 50%)  Royal Purple
#86af4f  rgb(134, 175, 79)  hsl(86, 38%, 50%)  Olivine
#af784f  rgb(175, 120, 79)  hsl(26, 38%, 50%)  Cafe au Lait
#4faf78  rgb(79, 175, 120)  hsl(146, 38%, 50%)  Medium Sea Green