#8A38EF

#8a38ef ≈ Blue Violet

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

#8a38ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 21.96% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 76.57% magenta, 0% yellow and 6.27% black. Its hue angle is 266.89°, 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 5.39:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 2.93.

Description generated from the measured properties of this color.

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

Readable text 5.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #785ab0 ≈ 0.001% of males
Protanopia #006bf4 ≈ 1.01% of males
Deuteranopia #0068ec ≈ 1.27% of males
Tritanopia #706a93 ≈ 0.0001% of males
Protanomaly #3b5af2 ≈ 1.08% of males
Deuteranomaly #4559ed ≈ 4.63% of males
Tritanomaly #7b5abf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue Violet
#8a38ef  rgb(138, 56, 239)  hsl(267, 85%, 58%)  Blue Violet
#9def38  rgb(157, 239, 56)  hsl(87, 85%, 58%)  Inchworm
#ef8a38  rgb(239, 138, 56)  hsl(27, 85%, 58%)  Cadmium Orange
#38ef8a  rgb(56, 239, 138)  hsl(147, 85%, 58%)  Medium Spring Green