#CB30F2

#cb30f2 ≈ Electric Purple

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

#cb30f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 18.82% green and 94.9% blue; printed in CMYK it uses 16.12% cyan, 80.17% magenta, 0% yellow and 5.1% black. Its hue angle is 287.94°, with 88.18% saturation and 56.86% 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.24:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.48.

Description generated from the measured properties of this color.

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

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a368b9 ≈ 0.001% of males
Protanopia #0076f7 ≈ 1.01% of males
Deuteranopia #3a84ee ≈ 1.27% of males
Tritanopia #ca5e93 ≈ 0.0001% of males
Protanomaly #7c61f5 ≈ 1.08% of males
Deuteranomaly #8d6cf0 ≈ 4.63% of males
Tritanomaly #ca4fc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb30f2 {
  color: #cb30f2;
}
Background
.bg-cb30f2 {
  background-color: #cb30f2;
  color: #000000;
}
Border
.border-cb30f2 {
  border: 2px solid #cb30f2;
}
CSS variables
:root {
  --color-primary: #cb30f2;
  --color-primary-rgb: 203 48 242;
  --color-primary-hsl: 288 88% 57%;
}
Gradient
.gradient-cb30f2 {
  background: linear-gradient(135deg, #cb30f2, #f230b8);
}
Colored shadow
.shadow-cb30f2 {
  box-shadow: 0 8px 24px rgb(203 48 242 / 0.35);
}

Electric Purple
#cb30f2  rgb(203, 48, 242)  hsl(288, 88%, 57%)  Electric Purple
#57f230  rgb(87, 242, 48)  hsl(108, 88%, 57%)  Neon Green
#f2cb30  rgb(242, 203, 48)  hsl(48, 88%, 57%)  Jonquil
#30f2cb  rgb(48, 242, 203)  hsl(168, 88%, 57%)  Aquamarine