#7858A1

#7858a1 ≈ Royal Purple

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

#7858a1 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.06% red, 34.51% green and 63.14% blue; printed in CMYK it uses 25.47% cyan, 45.34% magenta, 0% yellow and 36.86% black. Its hue angle is 266.3°, with 29.32% saturation and 48.82% 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.66:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.98.

Description generated from the measured properties of this color.

Conversions of #7858a1 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.1355

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #6e6182 ≈ 0.001% of males
Protanopia #4466a4 ≈ 1.01% of males
Deuteranopia #4c679f ≈ 1.27% of males
Tritanopia #716475 ≈ 0.0001% of males
Protanomaly #5d61a3 ≈ 1.08% of males
Deuteranomaly #6061a0 ≈ 4.63% of males
Tritanomaly #746089 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7858a1 {
  color: #7858a1;
}
Background
.bg-7858a1 {
  background-color: #7858a1;
  color: #ffffff;
}
Border
.border-7858a1 {
  border: 2px solid #7858a1;
}
CSS variables
:root {
  --color-primary: #7858a1;
  --color-primary-rgb: 120 88 161;
  --color-primary-hsl: 266 29% 49%;
}
Gradient
.gradient-7858a1 {
  background: linear-gradient(135deg, #7858a1, #9c58a1);
}
Colored shadow
.shadow-7858a1 {
  box-shadow: 0 8px 24px rgb(120 88 161 / 0.35);
}

Royal Purple
#7858a1  rgb(120, 88, 161)  hsl(266, 29%, 49%)  Royal Purple
#81a158  rgb(129, 161, 88)  hsl(86, 29%, 49%)  Asparagus
#a17858  rgb(161, 120, 88)  hsl(26, 29%, 49%)  Cafe au Lait
#58a178  rgb(88, 161, 120)  hsl(146, 29%, 49%)  Jungle Green