#C507A5

#c507a5 ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#c507a5 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 2.75% green and 64.71% blue; printed in CMYK it uses 0% cyan, 96.45% magenta, 16.24% yellow and 22.75% black. Its hue angle is 310.11°, with 93.14% saturation and 40% 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.32:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.47.

Description generated from the measured properties of this color.

Conversions of #c507a5 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.1474

Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #985486 ≈ 0.001% of males
Protanopia #1a5aa8 ≈ 1.01% of males
Deuteranopia #6274a1 ≈ 1.27% of males
Tritanopia #d01f61 ≈ 0.0001% of males
Protanomaly #8447a7 ≈ 1.08% of males
Deuteranomaly #945ca3 ≈ 4.63% of males
Tritanomaly #cc1882 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#c507a5  rgb(197, 7, 165)  hsl(310, 93%, 40%)  Medium Violet Red
#07c527  rgb(7, 197, 39)  hsl(130, 93%, 40%)  Lime Green
#a5c507  rgb(165, 197, 7)  hsl(70, 93%, 40%)  Yellow Green
#07a5c5  rgb(7, 165, 197)  hsl(190, 93%, 40%)  Bondi Blue