#5F0CF2

#5f0cf2 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#5f0cf2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 4.71% green and 94.9% blue; printed in CMYK it uses 60.74% cyan, 95.04% magenta, 0% yellow and 5.1% black. Its hue angle is 261.65°, with 90.55% saturation and 49.8% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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 7.44:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.61.

Description generated from the measured properties of this color.

Conversions of #5f0cf2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0911

Readable text 7.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5943ab ≈ 0.001% of males
Protanopia #005bf7 ≈ 1.01% of males
Deuteranopia #004eef ≈ 1.27% of males
Tritanopia #00638f ≈ 0.0001% of males
Protanomaly #0048f5 ≈ 1.08% of males
Deuteranomaly #003ef0 ≈ 4.63% of males
Tritanomaly #364ebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f0cf2 {
  color: #5f0cf2;
}
Background
.bg-5f0cf2 {
  background-color: #5f0cf2;
  color: #ffffff;
}
Border
.border-5f0cf2 {
  border: 2px solid #5f0cf2;
}
CSS variables
:root {
  --color-primary: #5f0cf2;
  --color-primary-rgb: 95 12 242;
  --color-primary-hsl: 262 91% 50%;
}
Gradient
.gradient-5f0cf2 {
  background: linear-gradient(135deg, #5f0cf2, #d20cf2);
}
Colored shadow
.shadow-5f0cf2 {
  box-shadow: 0 8px 24px rgb(95 12 242 / 0.35);
}

Han Purple
#5f0cf2  rgb(95, 12, 242)  hsl(262, 91%, 50%)  Han Purple
#9ff20c  rgb(159, 242, 12)  hsl(82, 91%, 50%)  Spring Bud
#f25f0c  rgb(242, 95, 12)  hsl(22, 91%, 50%)  Persimmon
#0cf25f  rgb(12, 242, 95)  hsl(142, 91%, 50%)  Spring Green