#AF07FC

#af07fc ≈ Vivid Violet

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

#af07fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 2.75% green and 98.82% blue; printed in CMYK it uses 30.56% cyan, 97.22% magenta, 0% yellow and 1.18% black. Its hue angle is 281.14°, with 97.61% saturation and 50.78% 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.93:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #af07fc 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.1629

Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #8e58b9 ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0072f8 ≈ 1.27% of males
Tritanopia #a35e95 ≈ 0.0001% of males
Protanomaly #5654ff ≈ 1.08% of males
Deuteranomaly #665afa ≈ 4.63% of males
Tritanomaly #a84ac7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vivid Violet
#af07fc  rgb(175, 7, 252)  hsl(281, 98%, 51%)  Vivid Violet
#54fc07  rgb(84, 252, 7)  hsl(101, 98%, 51%)  Harlequin
#fcaf07  rgb(252, 175, 7)  hsl(41, 98%, 51%)  Orange
#07fcaf  rgb(7, 252, 175)  hsl(161, 98%, 51%)  Medium Spring Green