#B507A5

#b507a5 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#b507a5 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.98% red, 2.75% green and 64.71% blue; printed in CMYK it uses 0% cyan, 96.13% magenta, 8.84% yellow and 29.02% black. Its hue angle is 305.52°, with 92.55% saturation and 36.86% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.65.

Description generated from the measured properties of this color.

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

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #8c4e83 ≈ 0.001% of males
Protanopia #0055a8 ≈ 1.01% of males
Deuteranopia #536ca2 ≈ 1.27% of males
Tritanopia #be2860 ≈ 0.0001% of males
Protanomaly #7643a7 ≈ 1.08% of males
Deuteranomaly #8555a3 ≈ 4.63% of males
Tritanomaly #ba1f81 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b507a5 {
  color: #b507a5;
}
Background
.bg-b507a5 {
  background-color: #b507a5;
  color: #ffffff;
}
Border
.border-b507a5 {
  border: 2px solid #b507a5;
}
CSS variables
:root {
  --color-primary: #b507a5;
  --color-primary-rgb: 181 7 165;
  --color-primary-hsl: 306 93% 37%;
}
Gradient
.gradient-b507a5 {
  background: linear-gradient(135deg, #b507a5, #b5074e);
}
Colored shadow
.shadow-b507a5 {
  box-shadow: 0 8px 24px rgb(181 7 165 / 0.35);
}

Medium Violet Red
#b507a5  rgb(181, 7, 165)  hsl(306, 93%, 37%)  Medium Violet Red
#07b517  rgb(7, 181, 23)  hsl(126, 93%, 37%)  Kelly Green
#a5b507  rgb(165, 181, 7)  hsl(66, 93%, 37%)  Apple Green
#07a5b5  rgb(7, 165, 181)  hsl(186, 93%, 37%)  Cadet Blue