#8A02E2

#8a02e2 ≈ Dark Violet

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

#8a02e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 54.12% red, 0.78% green and 88.63% blue; printed in CMYK it uses 38.94% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 276.43°, with 98.25% saturation and 44.71% 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.59:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 2.59.

Description generated from the measured properties of this color.

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

Readable text 6.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #7249a4 ≈ 0.001% of males
Protanopia #005be7 ≈ 1.01% of males
Deuteranopia #005cde ≈ 1.27% of males
Tritanopia #775685 ≈ 0.0001% of males
Protanomaly #3247e5 ≈ 1.08% of males
Deuteranomaly #4248e0 ≈ 4.63% of males
Tritanomaly #7f43b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a02e2 {
  color: #8a02e2;
}
Background
.bg-8a02e2 {
  background-color: #8a02e2;
  color: #ffffff;
}
Border
.border-8a02e2 {
  border: 2px solid #8a02e2;
}
CSS variables
:root {
  --color-primary: #8a02e2;
  --color-primary-rgb: 138 2 226;
  --color-primary-hsl: 276 98% 45%;
}
Gradient
.gradient-8a02e2 {
  background: linear-gradient(135deg, #8a02e2, #e202ca);
}
Colored shadow
.shadow-8a02e2 {
  box-shadow: 0 8px 24px rgb(138 2 226 / 0.35);
}

Dark Violet
#8a02e2  rgb(138, 2, 226)  hsl(276, 98%, 45%)  Dark Violet
#5ae202  rgb(90, 226, 2)  hsl(96, 98%, 45%)  Lawn Green
#e28a02  rgb(226, 138, 2)  hsl(36, 98%, 45%)  Fulvous
#02e28a  rgb(2, 226, 138)  hsl(156, 98%, 45%)  Medium Spring Green