#5838EF

#5838ef ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5838ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.51% red, 21.96% green and 93.73% blue; printed in CMYK it uses 63.18% cyan, 76.57% magenta, 0% yellow and 6.27% black. Its hue angle is 250.49°, with 85.12% saturation and 57.84% 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 6.51:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.15.

Description generated from the measured properties of this color.

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

Readable text 6.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5c51ac ≈ 0.001% of males
Protanopia #0064f4 ≈ 1.01% of males
Deuteranopia #0057ec ≈ 1.27% of males
Tritanopia #006e93 ≈ 0.0001% of males
Protanomaly #0056f2 ≈ 1.08% of males
Deuteranomaly #004ced ≈ 4.63% of males
Tritanomaly #255dbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5838ef {
  color: #5838ef;
}
Background
.bg-5838ef {
  background-color: #5838ef;
  color: #ffffff;
}
Border
.border-5838ef {
  border: 2px solid #5838ef;
}
CSS variables
:root {
  --color-primary: #5838ef;
  --color-primary-rgb: 88 56 239;
  --color-primary-hsl: 250 85% 58%;
}
Gradient
.gradient-5838ef {
  background: linear-gradient(135deg, #5838ef, #b338ef);
}
Colored shadow
.shadow-5838ef {
  box-shadow: 0 8px 24px rgb(88 56 239 / 0.35);
}

Han Purple
#5838ef  rgb(88, 56, 239)  hsl(250, 85%, 58%)  Han Purple
#cfef38  rgb(207, 239, 56)  hsl(70, 85%, 58%)  Pear
#ef5838  rgb(239, 88, 56)  hsl(10, 85%, 58%)  Tomato
#38ef58  rgb(56, 239, 88)  hsl(130, 85%, 58%)  Malachite