#BA02CC

#ba02cc ≈ Dark Orchid

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

#ba02cc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 0.78% green and 80% blue; printed in CMYK it uses 8.82% cyan, 99.02% magenta, 0% yellow and 20% black. Its hue angle is 294.65°, with 98.06% saturation and 40.39% 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. White text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 5.56.

Description generated from the measured properties of this color.

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

Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #92549c ≈ 0.001% of males
Protanopia #0060d0 ≈ 1.01% of males
Deuteranopia #3b71c8 ≈ 1.27% of males
Tritanopia #bd4078 ≈ 0.0001% of males
Protanomaly #724bcf ≈ 1.08% of males
Deuteranomaly #8259ca ≈ 4.63% of males
Tritanomaly #bc31a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba02cc {
  color: #ba02cc;
}
Background
.bg-ba02cc {
  background-color: #ba02cc;
  color: #ffffff;
}
Border
.border-ba02cc {
  border: 2px solid #ba02cc;
}
CSS variables
:root {
  --color-primary: #ba02cc;
  --color-primary-rgb: 186 2 204;
  --color-primary-hsl: 295 98% 40%;
}
Gradient
.gradient-ba02cc {
  background: linear-gradient(135deg, #ba02cc, #cc0279);
}
Colored shadow
.shadow-ba02cc {
  box-shadow: 0 8px 24px rgb(186 2 204 / 0.35);
}

Dark Orchid
#ba02cc  rgb(186, 2, 204)  hsl(295, 98%, 40%)  Dark Orchid
#14cc02  rgb(20, 204, 2)  hsl(115, 98%, 40%)  Lime Green
#ccba02  rgb(204, 186, 2)  hsl(55, 98%, 40%)  Old Gold
#02ccba  rgb(2, 204, 186)  hsl(175, 98%, 40%)  Turquoise