#AB16DA#AB16DA

#AB16DA is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.9% C 0.265 H 315.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB16DA
RGBrgb(171, 22, 218)
HSLhsl(286, 82%, 47%)
HSVhsv(286, 90%, 85%)
CMYKcmyk(21.6%, 89.9%, 0%, 14.5%)
CIE-LABlab(44.65, 77.99, -65.97)
CIE-LCHlch(44.65, 102.15, 319.77°)
OKLaboklab(55.86% 0.1877 -0.1867)
OKLCHoklch(55.86% 0.265 315.2)
XYZxyz(29.7343, 14.2949, 67.5090)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB16DA #45DA16
analogous
#4916DA #AB16DA #DA16A7
triadic
#AB16DA #DAAB16 #16DAAB
tetradic
#AB16DA #DA4916 #45DA16 #16A7DA
square
#AB16DA #DA4916 #45DA16 #16A7DA
split-complementary
#AB16DA #A7DA16 #16DA49
monochromatic
#540B6B #7F10A2 #AB16DA #C341EC #D579F1

Accessibility & contrast

On white

5.44
#AB16DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB16DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB16DA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB16DA#FFFFFF#000000##FFFFFF
##AB16DA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#A74F81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab16da;
/* rgb */ color: rgb(171, 22, 218);
/* oklch */ color: oklch(55.9% 0.265 315.2);
Tailwind
colors: {
  custom: {
    50: '#ca6fe6',
    500: '#ab16da',
    950: '#000000',
  },
}
SCSS
$custom: #ab16da;
$custom-light: #ca6fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab16da",
  "rgb": {
    "r": 171,
    "g": 22,
    "b": 218
  },
  "hsl": {
    "h": 285.612,
    "s": 81.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.26469,
    "h": 315.2
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#AB16DA
secondary
#8BD973
accent
#F83060
background
#FDF7FE
surface
#FAEDFD
border
#D3C8D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AB16DA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB16DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva