#CB40F2

#cb40f2 ≈ Medium Orchid

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

#cb40f2 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.1% green and 94.9% blue; printed in CMYK it uses 16.12% cyan, 73.55% magenta, 0% yellow and 5.1% black. Its hue angle is 286.85°, with 87.25% saturation and 60% 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.55:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.94.

Description generated from the measured properties of this color.

Conversions of #cb40f2 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.2277

Readable text 3.78:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #a56eba ≈ 0.001% of males
Protanopia #007bf7 ≈ 1.01% of males
Deuteranopia #4687ee ≈ 1.27% of males
Tritanopia #c96697 ≈ 0.0001% of males
Protanomaly #8068f5 ≈ 1.08% of males
Deuteranomaly #8f72f0 ≈ 4.63% of males
Tritanomaly #ca59c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb40f2 {
  color: #cb40f2;
}
Background
.bg-cb40f2 {
  background-color: #cb40f2;
  color: #000000;
}
Border
.border-cb40f2 {
  border: 2px solid #cb40f2;
}
CSS variables
:root {
  --color-primary: #cb40f2;
  --color-primary-rgb: 203 64 242;
  --color-primary-hsl: 287 87% 60%;
}
Gradient
.gradient-cb40f2 {
  background: linear-gradient(135deg, #cb40f2, #f240c0);
}
Colored shadow
.shadow-cb40f2 {
  box-shadow: 0 8px 24px rgb(203 64 242 / 0.35);
}

Medium Orchid
#cb40f2  rgb(203, 64, 242)  hsl(287, 87%, 60%)  Medium Orchid
#67f240  rgb(103, 242, 64)  hsl(107, 87%, 60%)  Neon Green
#f2cb40  rgb(242, 203, 64)  hsl(47, 87%, 60%)  Jonquil
#40f2cb  rgb(64, 242, 203)  hsl(167, 87%, 60%)  Aquamarine