#EC7AF4

#ec7af4 ≈ Violet

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

#ec7af4 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 47.84% green and 95.69% blue; printed in CMYK it uses 3.28% cyan, 50% magenta, 0% yellow and 4.31% black. Its hue angle is 296.07°, with 84.72% saturation and 71.76% 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.66:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #ec7af4 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.3828

Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #c697ca ≈ 0.001% of males
Protanopia #6b9df8 ≈ 1.01% of males
Deuteranopia #8eabf0 ≈ 1.27% of males
Tritanopia #f189ac ≈ 0.0001% of males
Protanomaly #ae91f6 ≈ 1.08% of males
Deuteranomaly #bb9af2 ≈ 4.63% of males
Tritanomaly #ef83cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Violet
#ec7af4  rgb(236, 122, 244)  hsl(296, 85%, 72%)  Violet
#82f47a  rgb(130, 244, 122)  hsl(116, 85%, 72%)  Pale Green
#f4ec7a  rgb(244, 236, 122)  hsl(56, 85%, 72%)  Khaki
#7af4ec  rgb(122, 244, 236)  hsl(176, 85%, 72%)  Electric Blue