#CB42E9

#cb42e9 ≈ Medium Orchid

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cb42e9 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 25.88% green and 91.37% blue; printed in CMYK it uses 12.88% cyan, 71.67% magenta, 0% yellow and 8.63% black. Its hue angle is 289.22°, with 79.15% saturation and 58.63% 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 brand accents. Black text on this color reaches a contrast ratio of 5.5:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.03.

Description generated from the measured properties of this color.

Conversions of #cb42e9 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.2248

Readable text 3.82:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #a46eb5 ≈ 0.001% of males
Protanopia #0079ee ≈ 1.01% of males
Deuteranopia #5087e5 ≈ 1.27% of males
Tritanopia #cb6392 ≈ 0.0001% of males
Protanomaly #8368ec ≈ 1.08% of males
Deuteranomaly #9272e7 ≈ 4.63% of males
Tritanomaly #cb57bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb42e9 {
  color: #cb42e9;
}
Background
.bg-cb42e9 {
  background-color: #cb42e9;
  color: #000000;
}
Border
.border-cb42e9 {
  border: 2px solid #cb42e9;
}
CSS variables
:root {
  --color-primary: #cb42e9;
  --color-primary-rgb: 203 66 233;
  --color-primary-hsl: 289 79% 59%;
}
Gradient
.gradient-cb42e9 {
  background: linear-gradient(135deg, #cb42e9, #e942b4);
}
Colored shadow
.shadow-cb42e9 {
  box-shadow: 0 8px 24px rgb(203 66 233 / 0.35);
}

Medium Orchid
#cb42e9  rgb(203, 66, 233)  hsl(289, 79%, 59%)  Medium Orchid
#60e942  rgb(96, 233, 66)  hsl(109, 79%, 59%)  Neon Green
#e9cb42  rgb(233, 203, 66)  hsl(49, 79%, 59%)  Jonquil
#42e9cb  rgb(66, 233, 203)  hsl(169, 79%, 59%)  Turquoise