#8A21BB

#8a21bb ≈ Dark Violet

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a21bb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 12.94% green and 73.33% blue; printed in CMYK it uses 26.2% cyan, 82.35% magenta, 0% yellow and 26.67% black. Its hue angle is 280.91°, with 70% saturation and 43.14% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 6.96:1 (WCAG AA). The closest named color is Dark Violet (#9400d3), ΔE 3.38.

Description generated from the measured properties of this color.

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

Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #70498b ≈ 0.001% of males
Protanopia #0055bf ≈ 1.01% of males
Deuteranopia #005bb8 ≈ 1.27% of males
Tritanopia #844a70 ≈ 0.0001% of males
Protanomaly #4d45bd ≈ 1.08% of males
Deuteranomaly #584ab9 ≈ 4.63% of males
Tritanomaly #863d94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a21bb {
  color: #8a21bb;
}
Background
.bg-8a21bb {
  background-color: #8a21bb;
  color: #ffffff;
}
Border
.border-8a21bb {
  border: 2px solid #8a21bb;
}
CSS variables
:root {
  --color-primary: #8a21bb;
  --color-primary-rgb: 138 33 187;
  --color-primary-hsl: 281 70% 43%;
}
Gradient
.gradient-8a21bb {
  background: linear-gradient(135deg, #8a21bb, #bb219f);
}
Colored shadow
.shadow-8a21bb {
  box-shadow: 0 8px 24px rgb(138 33 187 / 0.35);
}

Dark Violet
#8a21bb  rgb(138, 33, 187)  hsl(281, 70%, 43%)  Dark Violet
#52bb21  rgb(82, 187, 33)  hsl(101, 70%, 43%)  Kelly Green
#bb8a21  rgb(187, 138, 33)  hsl(41, 70%, 43%)  Dark Goldenrod
#21bb8a  rgb(33, 187, 138)  hsl(161, 70%, 43%)  Mint