#AF4FF8

#af4ff8 ≈ Electric Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#af4ff8 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 68.63% red, 30.98% green and 97.25% blue; printed in CMYK it uses 29.44% cyan, 68.15% magenta, 0% yellow and 2.75% black. Its hue angle is 274.08°, with 92.35% saturation and 64.12% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.3:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.18.

Description generated from the measured properties of this color.

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

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #956fbc ≈ 0.001% of males
Protanopia #007dfd ≈ 1.01% of males
Deuteranopia #1b80f4 ≈ 1.27% of males
Tritanopia #a3759e ≈ 0.0001% of males
Protanomaly #6a6dfb ≈ 1.08% of males
Deuteranomaly #7570f6 ≈ 4.63% of males
Tritanomaly #a868c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af4ff8 {
  color: #af4ff8;
}
Background
.bg-af4ff8 {
  background-color: #af4ff8;
  color: #000000;
}
Border
.border-af4ff8 {
  border: 2px solid #af4ff8;
}
CSS variables
:root {
  --color-primary: #af4ff8;
  --color-primary-rgb: 175 79 248;
  --color-primary-hsl: 274 92% 64%;
}
Gradient
.gradient-af4ff8 {
  background: linear-gradient(135deg, #af4ff8, #f84fed);
}
Colored shadow
.shadow-af4ff8 {
  box-shadow: 0 8px 24px rgb(175 79 248 / 0.35);
}

Electric Purple
#af4ff8  rgb(175, 79, 248)  hsl(274, 92%, 64%)  Electric Purple
#98f84f  rgb(152, 248, 79)  hsl(94, 92%, 64%)  Lawn Green
#f8af4f  rgb(248, 175, 79)  hsl(34, 92%, 64%)  Yellow Orange
#4ff8af  rgb(79, 248, 175)  hsl(154, 92%, 64%)  Medium Spring Green