#AB18FF

#ab18ff ≈ Vivid Violet

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ab18ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 67.06% red, 9.41% green and 100% blue; printed in CMYK it uses 32.94% cyan, 90.59% magenta, 0% yellow and 0% black. Its hue angle is 278.18°, with 100% saturation and 54.71% 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. White text on this color reaches a contrast ratio of 4.88:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.74.

Description generated from the measured properties of this color.

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

Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #8c5abb ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0072fb ≈ 1.27% of males
Tritanopia #9c6398 ≈ 0.0001% of males
Protanomaly #5157ff ≈ 1.08% of males
Deuteranomaly #615bfd ≈ 4.63% of males
Tritanomaly #a24fc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab18ff {
  color: #ab18ff;
}
Background
.bg-ab18ff {
  background-color: #ab18ff;
  color: #ffffff;
}
Border
.border-ab18ff {
  border: 2px solid #ab18ff;
}
CSS variables
:root {
  --color-primary: #ab18ff;
  --color-primary-rgb: 171 24 255;
  --color-primary-hsl: 278 100% 55%;
}
Gradient
.gradient-ab18ff {
  background: linear-gradient(135deg, #ab18ff, #ff18e0);
}
Colored shadow
.shadow-ab18ff {
  box-shadow: 0 8px 24px rgb(171 24 255 / 0.35);
}

Vivid Violet
#ab18ff  rgb(171, 24, 255)  hsl(278, 100%, 55%)  Vivid Violet
#6cff18  rgb(108, 255, 24)  hsl(98, 100%, 55%)  Lawn Green
#ffab18  rgb(255, 171, 24)  hsl(38, 100%, 55%)  Orange
#18ffab  rgb(24, 255, 171)  hsl(158, 100%, 55%)  Medium Spring Green