#AB56AC#AB56AC

#AB56AC is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.156 H 326.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB56AC
RGBrgb(171, 86, 172)
HSLhsl(299, 34%, 51%)
HSVhsv(299, 50%, 67%)
CMYKcmyk(0.6%, 50%, 0%, 32.5%)
CIE-LABlab(49.85, 47.14, -31.01)
CIE-LCHlch(49.85, 56.42, 326.66°)
OKLaboklab(58.72% 0.1306 -0.0851)
OKLCHoklch(58.72% 0.156 326.9)
XYZxyz(27.5683, 18.2936, 41.1006)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56AC #57AC56
analogous
#8056AC #AB56AC #AC5682
triadic
#AB56AC #ACAB56 #56ACAB
tetradic
#AB56AC #AC8056 #57AC56 #5682AC
square
#AB56AC #AC8056 #57AC56 #5682AC
split-complementary
#AB56AC #82AC56 #56AC80
monochromatic
#5A2D5B #834184 #AB56AC #BF7FC0 #D4A8D4

Accessibility & contrast

On white

4.51
#AB56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB56AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56AC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56AC#FFFFFF#000000##000000
##AB56AC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#AF5F79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab56ac;
/* rgb */ color: rgb(171, 86, 172);
/* oklch */ color: oklch(58.7% 0.156 326.9);
Tailwind
colors: {
  custom: {
    50: '#c689c5',
    500: '#ab56ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab56ac;
$custom-light: #c689c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56ac",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 299.302,
    "s": 34.127,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58719,
    "c": 0.15591,
    "h": 326.9
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#AB56AC
secondary
#9CC29C
accent
#CA5E5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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