#7161A8

#7161a8 ≈ Royal Purple

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

#7161a8 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 44.31% red, 38.04% green and 65.88% blue; printed in CMYK it uses 32.74% cyan, 42.26% magenta, 0% yellow and 34.12% black. Its hue angle is 253.52°, with 28.98% saturation and 51.96% 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.28:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.79.

Description generated from the measured properties of this color.

Conversions of #7161a8 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.1489

Readable text 5.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #6e6888 ≈ 0.001% of males
Protanopia #4b6dab ≈ 1.01% of males
Deuteranopia #4d6aa6 ≈ 1.27% of males
Tritanopia #646e7c ≈ 0.0001% of males
Protanomaly #5d68aa ≈ 1.08% of males
Deuteranomaly #5d67a7 ≈ 4.63% of males
Tritanomaly #6a6990 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7161a8 {
  color: #7161a8;
}
Background
.bg-7161a8 {
  background-color: #7161a8;
  color: #ffffff;
}
Border
.border-7161a8 {
  border: 2px solid #7161a8;
}
CSS variables
:root {
  --color-primary: #7161a8;
  --color-primary-rgb: 113 97 168;
  --color-primary-hsl: 254 29% 52%;
}
Gradient
.gradient-7161a8 {
  background: linear-gradient(135deg, #7161a8, #9461a8);
}
Colored shadow
.shadow-7161a8 {
  box-shadow: 0 8px 24px rgb(113 97 168 / 0.35);
}

Royal Purple
#7161a8  rgb(113, 97, 168)  hsl(254, 29%, 52%)  Royal Purple
#98a861  rgb(152, 168, 97)  hsl(74, 29%, 52%)  Moss Green
#a87161  rgb(168, 113, 97)  hsl(14, 29%, 52%)  Copper Rose
#61a871  rgb(97, 168, 113)  hsl(134, 29%, 52%)  Medium Sea Green