#EC7BF5

#ec7bf5 ≈ Violet

  • magenta
  • Lightness: high
  • Saturation: moderate
  • Balanced

#ec7bf5 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 48.24% green and 96.08% blue; printed in CMYK it uses 3.67% cyan, 49.8% magenta, 0% yellow and 3.92% black. Its hue angle is 295.57°, with 85.92% saturation and 72.16% 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. Black text on this color reaches a contrast ratio of 8.72:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.18.

Description generated from the measured properties of this color.

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

Readable text 2.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #c697cb ≈ 0.001% of males
Protanopia #6c9ef9 ≈ 1.01% of males
Deuteranopia #8eacf1 ≈ 1.27% of males
Tritanopia #f08aad ≈ 0.0001% of males
Protanomaly #ae91f7 ≈ 1.08% of males
Deuteranomaly #bb9bf3 ≈ 4.63% of males
Tritanomaly #ef84ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec7bf5 {
  color: #ec7bf5;
}
Background
.bg-ec7bf5 {
  background-color: #ec7bf5;
  color: #000000;
}
Border
.border-ec7bf5 {
  border: 2px solid #ec7bf5;
}
CSS variables
:root {
  --color-primary: #ec7bf5;
  --color-primary-rgb: 236 123 245;
  --color-primary-hsl: 296 86% 72%;
}
Gradient
.gradient-ec7bf5 {
  background: linear-gradient(135deg, #ec7bf5, #f57bc1);
}
Colored shadow
.shadow-ec7bf5 {
  box-shadow: 0 8px 24px rgb(236 123 245 / 0.35);
}

Violet
#ec7bf5  rgb(236, 123, 245)  hsl(296, 86%, 72%)  Violet
#84f57b  rgb(132, 245, 123)  hsl(116, 86%, 72%)  Mint Green
#f5ec7b  rgb(245, 236, 123)  hsl(56, 86%, 72%)  Khaki
#7bf5ec  rgb(123, 245, 236)  hsl(176, 86%, 72%)  Electric Blue