#AF2BFD

#af2bfd ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#af2bfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 16.86% green and 99.22% blue; printed in CMYK it uses 30.83% cyan, 83% magenta, 0% yellow and 0.78% black. Its hue angle is 277.71°, with 98.13% saturation and 58.04% 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 4.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.41.

Description generated from the measured properties of this color.

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

Readable text 4.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9060bc ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #0077f9 ≈ 1.27% of males
Tritanopia #a26699 ≈ 0.0001% of males
Protanomaly #5b5dff ≈ 1.08% of males
Deuteranomaly #6a61fb ≈ 4.63% of males
Tritanomaly #a755c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af2bfd {
  color: #af2bfd;
}
Background
.bg-af2bfd {
  background-color: #af2bfd;
  color: #000000;
}
Border
.border-af2bfd {
  border: 2px solid #af2bfd;
}
CSS variables
:root {
  --color-primary: #af2bfd;
  --color-primary-rgb: 175 43 253;
  --color-primary-hsl: 278 98% 58%;
}
Gradient
.gradient-af2bfd {
  background: linear-gradient(135deg, #af2bfd, #fd2be2);
}
Colored shadow
.shadow-af2bfd {
  box-shadow: 0 8px 24px rgb(175 43 253 / 0.35);
}

Electric Purple
#af2bfd  rgb(175, 43, 253)  hsl(278, 98%, 58%)  Electric Purple
#79fd2b  rgb(121, 253, 43)  hsl(98, 98%, 58%)  Lawn Green
#fdaf2b  rgb(253, 175, 43)  hsl(38, 98%, 58%)  Pastel Orange
#2bfdaf  rgb(43, 253, 175)  hsl(158, 98%, 58%)  Medium Spring Green