#AF04FE

#af04fe ≈ Vivid Violet

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

#af04fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 1.57% green and 99.61% blue; printed in CMYK it uses 31.1% cyan, 98.43% magenta, 0% yellow and 0.39% black. Its hue angle is 281.04°, with 99.21% saturation and 50.59% 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 4.92:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.82.

Description generated from the measured properties of this color.

Conversions of #af04fe 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.1636

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #8e58bb ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0072fa ≈ 1.27% of males
Tritanopia #a25f96 ≈ 0.0001% of males
Protanomaly #5454ff ≈ 1.08% of males
Deuteranomaly #655afc ≈ 4.63% of males
Tritanomaly #a74ac8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af04fe {
  color: #af04fe;
}
Background
.bg-af04fe {
  background-color: #af04fe;
  color: #ffffff;
}
Border
.border-af04fe {
  border: 2px solid #af04fe;
}
CSS variables
:root {
  --color-primary: #af04fe;
  --color-primary-rgb: 175 4 254;
  --color-primary-hsl: 281 99% 51%;
}
Gradient
.gradient-af04fe {
  background: linear-gradient(135deg, #af04fe, #fe04d0);
}
Colored shadow
.shadow-af04fe {
  box-shadow: 0 8px 24px rgb(175 4 254 / 0.35);
}

Vivid Violet
#af04fe  rgb(175, 4, 254)  hsl(281, 99%, 51%)  Vivid Violet
#53fe04  rgb(83, 254, 4)  hsl(101, 99%, 51%)  Harlequin
#feaf04  rgb(254, 175, 4)  hsl(41, 99%, 51%)  Orange
#04feaf  rgb(4, 254, 175)  hsl(161, 99%, 51%)  Medium Spring Green