#AF0FEB

#af0feb ≈ Vivid Violet

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

#af0feb 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 92.16% blue; printed in CMYK it uses 25.53% cyan, 93.62% magenta, 0% yellow and 7.84% black. Its hue angle is 283.64°, with 88% saturation and 49.02% 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.13:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #af0feb 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.1545

Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8c57ae ≈ 0.001% of males
Protanopia #0067f0 ≈ 1.01% of males
Deuteranopia #0070e7 ≈ 1.27% of males
Tritanopia #a8568b ≈ 0.0001% of males
Protanomaly #5e51ee ≈ 1.08% of males
Deuteranomaly #6e59e9 ≈ 4.63% of males
Tritanomaly #ab44b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vivid Violet
#af0feb  rgb(175, 15, 235)  hsl(284, 88%, 49%)  Vivid Violet
#4beb0f  rgb(75, 235, 15)  hsl(104, 88%, 49%)  Neon Green
#ebaf0f  rgb(235, 175, 15)  hsl(44, 88%, 49%)  Goldenrod
#0febaf  rgb(15, 235, 175)  hsl(164, 88%, 49%)  Medium Spring Green