#CD0AFB

#cd0afb ≈ Electric Purple

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

#cd0afb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.92% green and 98.43% blue; printed in CMYK it uses 18.33% cyan, 96.02% magenta, 0% yellow and 1.57% black. Its hue angle is 288.55°, with 96.79% saturation and 51.18% 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.03:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.83.

Description generated from the measured properties of this color.

Conversions of #cd0afb 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.2016

Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a362bd ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #1481f7 ≈ 1.27% of males
Tritanopia #ca5894 ≈ 0.0001% of males
Protanomaly #775afe ≈ 1.08% of males
Deuteranomaly #8966f8 ≈ 4.63% of males
Tritanomaly #cb45c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd0afb {
  color: #cd0afb;
}
Background
.bg-cd0afb {
  background-color: #cd0afb;
  color: #000000;
}
Border
.border-cd0afb {
  border: 2px solid #cd0afb;
}
CSS variables
:root {
  --color-primary: #cd0afb;
  --color-primary-rgb: 205 10 251;
  --color-primary-hsl: 289 97% 51%;
}
Gradient
.gradient-cd0afb {
  background: linear-gradient(135deg, #cd0afb, #fb0ab0);
}
Colored shadow
.shadow-cd0afb {
  box-shadow: 0 8px 24px rgb(205 10 251 / 0.35);
}

Electric Purple
#cd0afb  rgb(205, 10, 251)  hsl(289, 97%, 51%)  Electric Purple
#38fb0a  rgb(56, 251, 10)  hsl(109, 97%, 51%)  Neon Green
#fbcd0a  rgb(251, 205, 10)  hsl(49, 97%, 51%)  Jonquil
#0afbcd  rgb(10, 251, 205)  hsl(169, 97%, 51%)  Aquamarine