#8A7BC8

#8a7bc8 ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a7bc8 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 48.24% green and 78.43% blue; printed in CMYK it uses 31% cyan, 38.5% magenta, 0% yellow and 21.57% black. Its hue angle is 251.69°, with 41.18% saturation and 63.33% 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 brand accents. Black text on this color reaches a contrast ratio of 5.75:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.4.

Description generated from the measured properties of this color.

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

Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8782a4 ≈ 0.001% of males
Protanopia #6587cb ≈ 1.01% of males
Deuteranopia #6684c6 ≈ 1.27% of males
Tritanopia #7c8998 ≈ 0.0001% of males
Protanomaly #7582ca ≈ 1.08% of males
Deuteranomaly #7681c7 ≈ 4.63% of males
Tritanomaly #8284ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7bc8 {
  color: #8a7bc8;
}
Background
.bg-8a7bc8 {
  background-color: #8a7bc8;
  color: #000000;
}
Border
.border-8a7bc8 {
  border: 2px solid #8a7bc8;
}
CSS variables
:root {
  --color-primary: #8a7bc8;
  --color-primary-rgb: 138 123 200;
  --color-primary-hsl: 252 41% 63%;
}
Gradient
.gradient-8a7bc8 {
  background: linear-gradient(135deg, #8a7bc8, #b07bc8);
}
Colored shadow
.shadow-8a7bc8 {
  box-shadow: 0 8px 24px rgb(138 123 200 / 0.35);
}

Medium Purple
#8a7bc8  rgb(138, 123, 200)  hsl(252, 41%, 63%)  Medium Purple
#b9c87b  rgb(185, 200, 123)  hsl(72, 41%, 63%)  Olivine
#c88a7b  rgb(200, 138, 123)  hsl(12, 41%, 63%)  Old Rose
#7bc88a  rgb(123, 200, 138)  hsl(132, 41%, 63%)  Emerald