#AF01FB

#af01fb ≈ Vivid Violet

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

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

Description generated from the measured properties of this color.

Conversions of #af01fb 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.161

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #8d58b9 ≈ 0.001% of males
Protanopia #006aff ≈ 1.01% of males
Deuteranopia #0071f7 ≈ 1.27% of males
Tritanopia #a35d94 ≈ 0.0001% of males
Protanomaly #5653fe ≈ 1.08% of males
Deuteranomaly #6659f9 ≈ 4.63% of males
Tritanomaly #a848c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af01fb {
  color: #af01fb;
}
Background
.bg-af01fb {
  background-color: #af01fb;
  color: #ffffff;
}
Border
.border-af01fb {
  border: 2px solid #af01fb;
}
CSS variables
:root {
  --color-primary: #af01fb;
  --color-primary-rgb: 175 1 251;
  --color-primary-hsl: 282 99% 49%;
}
Gradient
.gradient-af01fb {
  background: linear-gradient(135deg, #af01fb, #fb01ca);
}
Colored shadow
.shadow-af01fb {
  box-shadow: 0 8px 24px rgb(175 1 251 / 0.35);
}

Vivid Violet
#af01fb  rgb(175, 1, 251)  hsl(282, 99%, 49%)  Vivid Violet
#4dfb01  rgb(77, 251, 1)  hsl(102, 99%, 49%)  Harlequin
#fbaf01  rgb(251, 175, 1)  hsl(42, 99%, 49%)  Orange
#01fbaf  rgb(1, 251, 175)  hsl(162, 99%, 49%)  Medium Spring Green