#7151AD

#7151ad ≈ Royal Purple

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

#7151ad is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 44.31% red, 31.76% green and 67.84% blue; printed in CMYK it uses 34.68% cyan, 53.18% magenta, 0% yellow and 32.16% black. Its hue angle is 260.87°, with 36.22% 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 6.03:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.95.

Description generated from the measured properties of this color.

Conversions of #7151ad 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.1241

Readable text 6.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #695c87 ≈ 0.001% of males
Protanopia #2d63b0 ≈ 1.01% of males
Deuteranopia #3562ab ≈ 1.27% of males
Tritanopia #646377 ≈ 0.0001% of males
Protanomaly #515caf ≈ 1.08% of males
Deuteranomaly #545bac ≈ 4.63% of males
Tritanomaly #695c90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7151ad {
  color: #7151ad;
}
Background
.bg-7151ad {
  background-color: #7151ad;
  color: #ffffff;
}
Border
.border-7151ad {
  border: 2px solid #7151ad;
}
CSS variables
:root {
  --color-primary: #7151ad;
  --color-primary-rgb: 113 81 173;
  --color-primary-hsl: 261 36% 50%;
}
Gradient
.gradient-7151ad {
  background: linear-gradient(135deg, #7151ad, #9f51ad);
}
Colored shadow
.shadow-7151ad {
  box-shadow: 0 8px 24px rgb(113 81 173 / 0.35);
}

Royal Purple
#7151ad  rgb(113, 81, 173)  hsl(261, 36%, 50%)  Royal Purple
#8dad51  rgb(141, 173, 81)  hsl(81, 36%, 50%)  Olivine
#ad7151  rgb(173, 113, 81)  hsl(21, 36%, 50%)  Cafe au Lait
#51ad71  rgb(81, 173, 113)  hsl(141, 36%, 50%)  Medium Sea Green