#AF36DC

#af36dc ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#af36dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 21.18% green and 86.27% blue; printed in CMYK it uses 20.45% cyan, 75.45% magenta, 0% yellow and 13.73% black. Its hue angle is 283.73°, with 70.34% saturation and 53.73% 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 brand accents. White text on this color reaches a contrast ratio of 4.79:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.65.

Description generated from the measured properties of this color.

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

Readable text 4.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #8f60a7 ≈ 0.001% of males
Protanopia #006ce1 ≈ 1.01% of males
Deuteranopia #2d75d8 ≈ 1.27% of males
Tritanopia #ab5c88 ≈ 0.0001% of males
Protanomaly #6b5bdf ≈ 1.08% of males
Deuteranomaly #7862da ≈ 4.63% of males
Tritanomaly #ad4fb0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af36dc {
  color: #af36dc;
}
Background
.bg-af36dc {
  background-color: #af36dc;
  color: #ffffff;
}
Border
.border-af36dc {
  border: 2px solid #af36dc;
}
CSS variables
:root {
  --color-primary: #af36dc;
  --color-primary-rgb: 175 54 220;
  --color-primary-hsl: 284 70% 54%;
}
Gradient
.gradient-af36dc {
  background: linear-gradient(135deg, #af36dc, #dc36b6);
}
Colored shadow
.shadow-af36dc {
  box-shadow: 0 8px 24px rgb(175 54 220 / 0.35);
}

Electric Purple
#af36dc  rgb(175, 54, 220)  hsl(284, 70%, 54%)  Electric Purple
#63dc36  rgb(99, 220, 54)  hsl(104, 70%, 54%)  Lime Green
#dcaf36  rgb(220, 175, 54)  hsl(44, 70%, 54%)  Meat Brown
#36dcaf  rgb(54, 220, 175)  hsl(164, 70%, 54%)  Caribbean Green