#7F54B4

#7f54b4 ≈ Royal Purple

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

#7f54b4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 32.94% green and 70.59% blue; printed in CMYK it uses 29.44% cyan, 53.33% magenta, 0% yellow and 29.41% black. Its hue angle is 266.88°, with 39.02% saturation and 51.76% 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.48:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #7f54b4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1415

Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #72618d ≈ 0.001% of males
Protanopia #3268b7 ≈ 1.01% of males
Deuteranopia #3f69b2 ≈ 1.27% of males
Tritanopia #75667c ≈ 0.0001% of males
Protanomaly #5b61b6 ≈ 1.08% of males
Deuteranomaly #5f61b3 ≈ 4.63% of males
Tritanomaly #795f96 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f54b4 {
  color: #7f54b4;
}
Background
.bg-7f54b4 {
  background-color: #7f54b4;
  color: #ffffff;
}
Border
.border-7f54b4 {
  border: 2px solid #7f54b4;
}
CSS variables
:root {
  --color-primary: #7f54b4;
  --color-primary-rgb: 127 84 180;
  --color-primary-hsl: 267 39% 52%;
}
Gradient
.gradient-7f54b4 {
  background: linear-gradient(135deg, #7f54b4, #af54b4);
}
Colored shadow
.shadow-7f54b4 {
  box-shadow: 0 8px 24px rgb(127 84 180 / 0.35);
}

Royal Purple
#7f54b4  rgb(127, 84, 180)  hsl(267, 39%, 52%)  Royal Purple
#89b454  rgb(137, 180, 84)  hsl(87, 39%, 52%)  Olivine
#b47f54  rgb(180, 127, 84)  hsl(27, 39%, 52%)  Cafe au Lait
#54b47f  rgb(84, 180, 127)  hsl(147, 39%, 52%)  Medium Sea Green