#EA7AF2

#ea7af2 ≈ Violet

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

#ea7af2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 91.76% red, 47.84% green and 94.9% blue; printed in CMYK it uses 3.31% cyan, 49.59% magenta, 0% yellow and 5.1% black. Its hue angle is 296°, with 82.19% saturation and 71.37% 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.56:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #ea7af2 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.3782

Readable text 2.45:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #c596c9 ≈ 0.001% of males
Protanopia #6b9df6 ≈ 1.01% of males
Deuteranopia #8daaee ≈ 1.27% of males
Tritanopia #ef88ab ≈ 0.0001% of males
Protanomaly #ad90f4 ≈ 1.08% of males
Deuteranomaly #ba99f0 ≈ 4.63% of males
Tritanomaly #ed83cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea7af2 {
  color: #ea7af2;
}
Background
.bg-ea7af2 {
  background-color: #ea7af2;
  color: #000000;
}
Border
.border-ea7af2 {
  border: 2px solid #ea7af2;
}
CSS variables
:root {
  --color-primary: #ea7af2;
  --color-primary-rgb: 234 122 242;
  --color-primary-hsl: 296 82% 71%;
}
Gradient
.gradient-ea7af2 {
  background: linear-gradient(135deg, #ea7af2, #f27abe);
}
Colored shadow
.shadow-ea7af2 {
  box-shadow: 0 8px 24px rgb(234 122 242 / 0.35);
}

Violet
#ea7af2  rgb(234, 122, 242)  hsl(296, 82%, 71%)  Violet
#82f27a  rgb(130, 242, 122)  hsl(116, 82%, 71%)  Light Green
#f2ea7a  rgb(242, 234, 122)  hsl(56, 82%, 71%)  Khaki
#7af2ea  rgb(122, 242, 234)  hsl(176, 82%, 71%)  Electric Blue