#AB6DEC

#ab6dec ≈ Medium Purple

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

#ab6dec is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 67.06% red, 42.75% green and 92.55% blue; printed in CMYK it uses 27.54% cyan, 53.81% magenta, 0% yellow and 7.45% black. Its hue angle is 269.29°, with 76.97% saturation and 67.65% 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 6.13:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.91.

Description generated from the measured properties of this color.

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

Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #9980ba ≈ 0.001% of males
Protanopia #4089f0 ≈ 1.01% of males
Deuteranopia #558be9 ≈ 1.27% of males
Tritanopia #a085a2 ≈ 0.0001% of males
Protanomaly #7a7fef ≈ 1.08% of males
Deuteranomaly #8080ea ≈ 4.63% of males
Tritanomaly #a47cc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab6dec {
  color: #ab6dec;
}
Background
.bg-ab6dec {
  background-color: #ab6dec;
  color: #000000;
}
Border
.border-ab6dec {
  border: 2px solid #ab6dec;
}
CSS variables
:root {
  --color-primary: #ab6dec;
  --color-primary-rgb: 171 109 236;
  --color-primary-hsl: 269 77% 68%;
}
Gradient
.gradient-ab6dec {
  background: linear-gradient(135deg, #ab6dec, #ea6dec);
}
Colored shadow
.shadow-ab6dec {
  box-shadow: 0 8px 24px rgb(171 109 236 / 0.35);
}

Medium Purple
#ab6dec  rgb(171, 109, 236)  hsl(269, 77%, 68%)  Medium Purple
#aeec6d  rgb(174, 236, 109)  hsl(89, 77%, 68%)  Inchworm
#ecab6d  rgb(236, 171, 109)  hsl(29, 77%, 68%)  Fawn
#6decab  rgb(109, 236, 171)  hsl(149, 77%, 68%)  Medium Spring Green