#AF0EC7

#af0ec7 ≈ Dark Orchid

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

#af0ec7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 5.49% green and 78.04% blue; printed in CMYK it uses 12.06% cyan, 92.96% magenta, 0% yellow and 21.96% black. Its hue angle is 292.22°, with 86.85% saturation and 41.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. White text on this color reaches a contrast ratio of 5.66:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 4.25.

Description generated from the measured properties of this color.

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

Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #8a5197 ≈ 0.001% of males
Protanopia #005dcb ≈ 1.01% of males
Deuteranopia #316cc3 ≈ 1.27% of males
Tritanopia #b04275 ≈ 0.0001% of males
Protanomaly #6a49ca ≈ 1.08% of males
Deuteranomaly #7955c5 ≈ 4.63% of males
Tritanomaly #b0349d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af0ec7 {
  color: #af0ec7;
}
Background
.bg-af0ec7 {
  background-color: #af0ec7;
  color: #ffffff;
}
Border
.border-af0ec7 {
  border: 2px solid #af0ec7;
}
CSS variables
:root {
  --color-primary: #af0ec7;
  --color-primary-rgb: 175 14 199;
  --color-primary-hsl: 292 87% 42%;
}
Gradient
.gradient-af0ec7 {
  background: linear-gradient(135deg, #af0ec7, #c70e82);
}
Colored shadow
.shadow-af0ec7 {
  box-shadow: 0 8px 24px rgb(175 14 199 / 0.35);
}

Dark Orchid
#af0ec7  rgb(175, 14, 199)  hsl(292, 87%, 42%)  Dark Orchid
#26c70e  rgb(38, 199, 14)  hsl(112, 87%, 42%)  Lime Green
#c7af0e  rgb(199, 175, 14)  hsl(52, 87%, 42%)  Old Gold
#0ec7af  rgb(14, 199, 175)  hsl(172, 87%, 42%)  Medium Aquamarine