#AB5DF2

#ab5df2 ≈ Amethyst

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#ab5df2 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 67.06% red, 36.47% green and 94.9% blue; printed in CMYK it uses 29.34% cyan, 61.57% magenta, 0% yellow and 5.1% black. Its hue angle is 271.41°, with 85.14% saturation and 65.69% 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. Black text on this color reaches a contrast ratio of 5.58:1 (WCAG AA). The closest named color is Amethyst (#9966cc), ΔE 6.24.

Description generated from the measured properties of this color.

Conversions of #ab5df2 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.229

Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #9576ba ≈ 0.001% of males
Protanopia #0081f7 ≈ 1.01% of males
Deuteranopia #3984ef ≈ 1.27% of males
Tritanopia #9e7c9f ≈ 0.0001% of males
Protanomaly #6f74f5 ≈ 1.08% of males
Deuteranomaly #7876f0 ≈ 4.63% of males
Tritanomaly #a471c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab5df2 {
  color: #ab5df2;
}
Background
.bg-ab5df2 {
  background-color: #ab5df2;
  color: #000000;
}
Border
.border-ab5df2 {
  border: 2px solid #ab5df2;
}
CSS variables
:root {
  --color-primary: #ab5df2;
  --color-primary-rgb: 171 93 242;
  --color-primary-hsl: 271 85% 66%;
}
Gradient
.gradient-ab5df2 {
  background: linear-gradient(135deg, #ab5df2, #f25dee);
}
Colored shadow
.shadow-ab5df2 {
  box-shadow: 0 8px 24px rgb(171 93 242 / 0.35);
}

Amethyst
#ab5df2  rgb(171, 93, 242)  hsl(271, 85%, 66%)  Amethyst
#a4f25d  rgb(164, 242, 93)  hsl(91, 85%, 66%)  Inchworm
#f2ab5d  rgb(242, 171, 93)  hsl(31, 85%, 66%)  Indian Yellow
#5df2ab  rgb(93, 242, 171)  hsl(151, 85%, 66%)  Medium Spring Green