#B507A2

#b507a2 ≈ Medium Violet Red

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

#b507a2 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 63.53% blue; printed in CMYK it uses 0% cyan, 96.13% magenta, 10.5% yellow and 29.02% black. Its hue angle is 306.55°, 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.97:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.22.

Description generated from the measured properties of this color.

Conversions of #b507a2 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.1258

Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #8c4e81 ≈ 0.001% of males
Protanopia #0055a5 ≈ 1.01% of males
Deuteranopia #546b9f ≈ 1.27% of males
Tritanopia #be265f ≈ 0.0001% of males
Protanomaly #7742a4 ≈ 1.08% of males
Deuteranomaly #8654a0 ≈ 4.63% of males
Tritanomaly #bb1d7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#b507a2  rgb(181, 7, 162)  hsl(307, 93%, 37%)  Medium Violet Red
#07b51a  rgb(7, 181, 26)  hsl(127, 93%, 37%)  Kelly Green
#a2b507  rgb(162, 181, 7)  hsl(67, 93%, 37%)  Apple Green
#07a2b5  rgb(7, 162, 181)  hsl(187, 93%, 37%)  Bondi Blue