#B040D7

#b040d7 ≈ Medium Orchid

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#b040d7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 25.1% green and 84.31% blue; printed in CMYK it uses 18.14% cyan, 70.23% magenta, 0% yellow and 15.69% black. Its hue angle is 284.5°, with 65.37% saturation and 54.71% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.6:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.17.

Description generated from the measured properties of this color.

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

Readable text 4.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9064a5 ≈ 0.001% of males
Protanopia #006fdb ≈ 1.01% of males
Deuteranopia #3e78d4 ≈ 1.27% of males
Tritanopia #ad5f87 ≈ 0.0001% of males
Protanomaly #705fda ≈ 1.08% of males
Deuteranomaly #7c66d5 ≈ 4.63% of males
Tritanomaly #ae54ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b040d7 {
  color: #b040d7;
}
Background
.bg-b040d7 {
  background-color: #b040d7;
  color: #ffffff;
}
Border
.border-b040d7 {
  border: 2px solid #b040d7;
}
CSS variables
:root {
  --color-primary: #b040d7;
  --color-primary-rgb: 176 64 215;
  --color-primary-hsl: 285 65% 55%;
}
Gradient
.gradient-b040d7 {
  background: linear-gradient(135deg, #b040d7, #d740b3);
}
Colored shadow
.shadow-b040d7 {
  box-shadow: 0 8px 24px rgb(176 64 215 / 0.35);
}

Medium Orchid
#b040d7  rgb(176, 64, 215)  hsl(285, 65%, 55%)  Medium Orchid
#67d740  rgb(103, 215, 64)  hsl(105, 65%, 55%)  Lime Green
#d7b040  rgb(215, 176, 64)  hsl(45, 65%, 55%)  Metallic Gold
#40d7b0  rgb(64, 215, 176)  hsl(165, 65%, 55%)  Medium Aquamarine