#D306FA

#d306fa ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#d306fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 2.35% green and 98.04% blue; printed in CMYK it uses 15.6% cyan, 97.6% magenta, 0% yellow and 1.96% black. Its hue angle is 290.41°, with 96.06% saturation and 50.2% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. 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.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.9.

Description generated from the measured properties of this color.

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

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a763bd ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #2a84f6 ≈ 1.27% of males
Tritanopia #d25594 ≈ 0.0001% of males
Protanomaly #7d5afd ≈ 1.08% of males
Deuteranomaly #8f68f7 ≈ 4.63% of males
Tritanomaly #d343c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d306fa {
  color: #d306fa;
}
Background
.bg-d306fa {
  background-color: #d306fa;
  color: #000000;
}
Border
.border-d306fa {
  border: 2px solid #d306fa;
}
CSS variables
:root {
  --color-primary: #d306fa;
  --color-primary-rgb: 211 6 250;
  --color-primary-hsl: 290 96% 50%;
}
Gradient
.gradient-d306fa {
  background: linear-gradient(135deg, #d306fa, #fa06a7);
}
Colored shadow
.shadow-d306fa {
  box-shadow: 0 8px 24px rgb(211 6 250 / 0.35);
}

Electric Purple
#d306fa  rgb(211, 6, 250)  hsl(290, 96%, 50%)  Electric Purple
#2dfa06  rgb(45, 250, 6)  hsl(110, 96%, 50%)  Neon Green
#fad306  rgb(250, 211, 6)  hsl(50, 96%, 50%)  Gold
#06fad3  rgb(6, 250, 211)  hsl(170, 96%, 50%)  Aquamarine