#8151AA

#8151aa ≈ Royal Purple

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

#8151aa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.59% red, 31.76% green and 66.67% blue; printed in CMYK it uses 24.12% cyan, 52.35% magenta, 0% yellow and 33.33% black. Its hue angle is 272.36°, with 35.46% saturation and 49.22% 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.69:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.99.

Description generated from the measured properties of this color.

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

Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #725f87 ≈ 0.001% of males
Protanopia #3765ad ≈ 1.01% of males
Deuteranopia #4567a8 ≈ 1.27% of males
Tritanopia #7b6176 ≈ 0.0001% of males
Protanomaly #5d5eac ≈ 1.08% of males
Deuteranomaly #635fa9 ≈ 4.63% of males
Tritanomaly #7d5b8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8151aa {
  color: #8151aa;
}
Background
.bg-8151aa {
  background-color: #8151aa;
  color: #ffffff;
}
Border
.border-8151aa {
  border: 2px solid #8151aa;
}
CSS variables
:root {
  --color-primary: #8151aa;
  --color-primary-rgb: 129 81 170;
  --color-primary-hsl: 272 35% 49%;
}
Gradient
.gradient-8151aa {
  background: linear-gradient(135deg, #8151aa, #aa51a7);
}
Colored shadow
.shadow-8151aa {
  box-shadow: 0 8px 24px rgb(129 81 170 / 0.35);
}

Royal Purple
#8151aa  rgb(129, 81, 170)  hsl(272, 35%, 49%)  Royal Purple
#7aaa51  rgb(122, 170, 81)  hsl(92, 35%, 49%)  Asparagus
#aa8151  rgb(170, 129, 81)  hsl(32, 35%, 49%)  Cafe au Lait
#51aa81  rgb(81, 170, 129)  hsl(152, 35%, 49%)  Mint