#AF0FEF

#af0fef ≈ Vivid Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#af0fef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 5.88% green and 93.73% blue; printed in CMYK it uses 26.78% cyan, 93.72% magenta, 0% yellow and 6.27% black. Its hue angle is 282.86°, with 88.19% saturation and 49.8% lightness in HSL. It is a cool color, 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.08:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.41.

Description generated from the measured properties of this color.

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

Readable text 5.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8d57b1 ≈ 0.001% of males
Protanopia #0068f4 ≈ 1.01% of males
Deuteranopia #0071eb ≈ 1.27% of males
Tritanopia #a6588d ≈ 0.0001% of males
Protanomaly #5c52f2 ≈ 1.08% of males
Deuteranomaly #6c59ed ≈ 4.63% of males
Tritanomaly #aa46bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af0fef {
  color: #af0fef;
}
Background
.bg-af0fef {
  background-color: #af0fef;
  color: #ffffff;
}
Border
.border-af0fef {
  border: 2px solid #af0fef;
}
CSS variables
:root {
  --color-primary: #af0fef;
  --color-primary-rgb: 175 15 239;
  --color-primary-hsl: 283 88% 50%;
}
Gradient
.gradient-af0fef {
  background: linear-gradient(135deg, #af0fef, #ef0fbf);
}
Colored shadow
.shadow-af0fef {
  box-shadow: 0 8px 24px rgb(175 15 239 / 0.35);
}

Vivid Violet
#af0fef  rgb(175, 15, 239)  hsl(283, 88%, 50%)  Vivid Violet
#4fef0f  rgb(79, 239, 15)  hsl(103, 88%, 50%)  Harlequin
#efaf0f  rgb(239, 175, 15)  hsl(43, 88%, 50%)  Goldenrod
#0fefaf  rgb(15, 239, 175)  hsl(163, 88%, 50%)  Medium Spring Green