#C842F4

#c842f4 ≈ Medium Orchid

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

#c842f4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 25.88% green and 95.69% blue; printed in CMYK it uses 18.03% cyan, 72.95% magenta, 0% yellow and 4.31% black. Its hue angle is 285.17°, with 89% saturation and 60.78% 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 5.54:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.03.

Description generated from the measured properties of this color.

Conversions of #c842f4 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.2271

Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #a36fbb ≈ 0.001% of males
Protanopia #007bf9 ≈ 1.01% of males
Deuteranopia #4187f0 ≈ 1.27% of males
Tritanopia #c56898 ≈ 0.0001% of males
Protanomaly #7e69f7 ≈ 1.08% of males
Deuteranomaly #8c71f2 ≈ 4.63% of males
Tritanomaly #c65bc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c842f4 {
  color: #c842f4;
}
Background
.bg-c842f4 {
  background-color: #c842f4;
  color: #000000;
}
Border
.border-c842f4 {
  border: 2px solid #c842f4;
}
CSS variables
:root {
  --color-primary: #c842f4;
  --color-primary-rgb: 200 66 244;
  --color-primary-hsl: 285 89% 61%;
}
Gradient
.gradient-c842f4 {
  background: linear-gradient(135deg, #c842f4, #f442c7);
}
Colored shadow
.shadow-c842f4 {
  box-shadow: 0 8px 24px rgb(200 66 244 / 0.35);
}

Medium Orchid
#c842f4  rgb(200, 66, 244)  hsl(285, 89%, 61%)  Medium Orchid
#6ef442  rgb(110, 244, 66)  hsl(105, 89%, 61%)  Neon Green
#f4c842  rgb(244, 200, 66)  hsl(45, 89%, 61%)  Saffron
#42f4c8  rgb(66, 244, 200)  hsl(165, 89%, 61%)  Aquamarine