#CB15F2

#cb15f2 ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #cb15f2 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.1964

Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a162b7 ≈ 0.001% of males
Protanopia #0070f7 ≈ 1.01% of males
Deuteranopia #2a80ee ≈ 1.27% of males
Tritanopia #ca5590 ≈ 0.0001% of males
Protanomaly #7859f5 ≈ 1.08% of males
Deuteranomaly #8a66f0 ≈ 4.63% of males
Tritanomaly #ca44bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb15f2 {
  color: #cb15f2;
}
Background
.bg-cb15f2 {
  background-color: #cb15f2;
  color: #000000;
}
Border
.border-cb15f2 {
  border: 2px solid #cb15f2;
}
CSS variables
:root {
  --color-primary: #cb15f2;
  --color-primary-rgb: 203 21 242;
  --color-primary-hsl: 289 89% 52%;
}
Gradient
.gradient-cb15f2 {
  background: linear-gradient(135deg, #cb15f2, #f215ab);
}
Colored shadow
.shadow-cb15f2 {
  box-shadow: 0 8px 24px rgb(203 21 242 / 0.35);
}

Electric Purple
#cb15f2  rgb(203, 21, 242)  hsl(289, 89%, 52%)  Electric Purple
#3cf215  rgb(60, 242, 21)  hsl(109, 89%, 52%)  Neon Green
#f2cb15  rgb(242, 203, 21)  hsl(49, 89%, 52%)  Jonquil
#15f2cb  rgb(21, 242, 203)  hsl(169, 89%, 52%)  Aquamarine