#EC7DFB

#ec7dfb ≈ Violet

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

#ec7dfb is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 49.02% green and 98.43% blue; printed in CMYK it uses 5.98% cyan, 50.2% magenta, 0% yellow and 1.57% black. Its hue angle is 292.86°, with 94.03% saturation and 73.73% 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.89:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.76.

Description generated from the measured properties of this color.

Conversions of #ec7dfb 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.3947

Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #c799cf ≈ 0.001% of males
Protanopia #6ba0ff ≈ 1.01% of males
Deuteranopia #8dadf7 ≈ 1.27% of males
Tritanopia #ef8db1 ≈ 0.0001% of males
Protanomaly #ae93fe ≈ 1.08% of males
Deuteranomaly #bb9cf9 ≈ 4.63% of males
Tritanomaly #ee87d3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec7dfb {
  color: #ec7dfb;
}
Background
.bg-ec7dfb {
  background-color: #ec7dfb;
  color: #000000;
}
Border
.border-ec7dfb {
  border: 2px solid #ec7dfb;
}
CSS variables
:root {
  --color-primary: #ec7dfb;
  --color-primary-rgb: 236 125 251;
  --color-primary-hsl: 293 94% 74%;
}
Gradient
.gradient-ec7dfb {
  background: linear-gradient(135deg, #ec7dfb, #fb7dcb);
}
Colored shadow
.shadow-ec7dfb {
  box-shadow: 0 8px 24px rgb(236 125 251 / 0.35);
}

Violet
#ec7dfb  rgb(236, 125, 251)  hsl(293, 94%, 74%)  Violet
#8cfb7d  rgb(140, 251, 125)  hsl(113, 94%, 74%)  Mint Green
#fbec7d  rgb(251, 236, 125)  hsl(53, 94%, 74%)  Khaki
#7dfbec  rgb(125, 251, 236)  hsl(173, 94%, 74%)  Turquoise Blue