#9872DB

#9872db ≈ Medium Purple

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

#9872db is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.61% red, 44.71% green and 85.88% blue; printed in CMYK it uses 30.59% cyan, 47.95% magenta, 0% yellow and 14.12% black. Its hue angle is 261.71°, with 59.32% saturation and 65.29% 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.76:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 1.18.

Description generated from the measured properties of this color.

Conversions of #9872db 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.2382

Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8e7eaf ≈ 0.001% of males
Protanopia #5086df ≈ 1.01% of males
Deuteranopia #5885d8 ≈ 1.27% of males
Tritanopia #8a869c ≈ 0.0001% of males
Protanomaly #747fdd ≈ 1.08% of males
Deuteranomaly #777ed9 ≈ 4.63% of males
Tritanomaly #907eb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9872db {
  color: #9872db;
}
Background
.bg-9872db {
  background-color: #9872db;
  color: #000000;
}
Border
.border-9872db {
  border: 2px solid #9872db;
}
CSS variables
:root {
  --color-primary: #9872db;
  --color-primary-rgb: 152 114 219;
  --color-primary-hsl: 262 59% 65%;
}
Gradient
.gradient-9872db {
  background: linear-gradient(135deg, #9872db, #cc72db);
}
Colored shadow
.shadow-9872db {
  box-shadow: 0 8px 24px rgb(152 114 219 / 0.35);
}

Medium Purple
#9872db  rgb(152, 114, 219)  hsl(262, 59%, 65%)  Medium Purple
#b5db72  rgb(181, 219, 114)  hsl(82, 59%, 65%)  June Bud
#db9872  rgb(219, 152, 114)  hsl(22, 59%, 65%)  Raw Sienna
#72db98  rgb(114, 219, 152)  hsl(142, 59%, 65%)  Emerald