#7F45BF

#7f45bf ≈ Royal Purple

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

#7f45bf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 27.06% green and 74.9% blue; printed in CMYK it uses 33.51% cyan, 63.87% magenta, 0% yellow and 25.1% black. Its hue angle is 268.52°, with 48.8% saturation and 50.98% 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.99:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.95.

Description generated from the measured properties of this color.

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

Readable text 5.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6f5991 ≈ 0.001% of males
Protanopia #0062c3 ≈ 1.01% of males
Deuteranopia #1a63bc ≈ 1.27% of males
Tritanopia #725f7c ≈ 0.0001% of males
Protanomaly #4f58c1 ≈ 1.08% of males
Deuteranomaly #5558bd ≈ 4.63% of males
Tritanomaly #77569b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f45bf {
  color: #7f45bf;
}
Background
.bg-7f45bf {
  background-color: #7f45bf;
  color: #ffffff;
}
Border
.border-7f45bf {
  border: 2px solid #7f45bf;
}
CSS variables
:root {
  --color-primary: #7f45bf;
  --color-primary-rgb: 127 69 191;
  --color-primary-hsl: 269 49% 51%;
}
Gradient
.gradient-7f45bf {
  background: linear-gradient(135deg, #7f45bf, #bc45bf);
}
Colored shadow
.shadow-7f45bf {
  box-shadow: 0 8px 24px rgb(127 69 191 / 0.35);
}

Royal Purple
#7f45bf  rgb(127, 69, 191)  hsl(269, 49%, 51%)  Royal Purple
#85bf45  rgb(133, 191, 69)  hsl(89, 49%, 51%)  Yellow Green
#bf7f45  rgb(191, 127, 69)  hsl(29, 49%, 51%)  Peru
#45bf7f  rgb(69, 191, 127)  hsl(149, 49%, 51%)  Medium Sea Green