#B40CD7

#b40cd7 ≈ Dark Orchid

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

#b40cd7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.59% red, 4.71% green and 84.31% blue; printed in CMYK it uses 16.28% cyan, 94.42% magenta, 0% yellow and 15.69% black. Its hue angle is 289.66°, with 89.43% saturation and 44.51% 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.28:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 4.37.

Description generated from the measured properties of this color.

Conversions of #b40cd7 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.1487

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

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #8e55a2 ≈ 0.001% of males
Protanopia #0062dc ≈ 1.01% of males
Deuteranopia #2270d3 ≈ 1.27% of males
Tritanopia #b34a7f ≈ 0.0001% of males
Protanomaly #6a4dda ≈ 1.08% of males
Deuteranomaly #7959d5 ≈ 4.63% of males
Tritanomaly #b33aa9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b40cd7 {
  color: #b40cd7;
}
Background
.bg-b40cd7 {
  background-color: #b40cd7;
  color: #ffffff;
}
Border
.border-b40cd7 {
  border: 2px solid #b40cd7;
}
CSS variables
:root {
  --color-primary: #b40cd7;
  --color-primary-rgb: 180 12 215;
  --color-primary-hsl: 290 89% 45%;
}
Gradient
.gradient-b40cd7 {
  background: linear-gradient(135deg, #b40cd7, #d70c94);
}
Colored shadow
.shadow-b40cd7 {
  box-shadow: 0 8px 24px rgb(180 12 215 / 0.35);
}

Dark Orchid
#b40cd7  rgb(180, 12, 215)  hsl(290, 89%, 45%)  Dark Orchid
#2fd70c  rgb(47, 215, 12)  hsl(110, 89%, 45%)  Lime Green
#d7b40c  rgb(215, 180, 12)  hsl(50, 89%, 45%)  Metallic Gold
#0cd7b4  rgb(12, 215, 180)  hsl(170, 89%, 45%)  Medium Aquamarine