#AB49AC#AB49AC

#AB49AC is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.176 H 327.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB49AC
RGBrgb(171, 73, 172)
HSLhsl(299, 40%, 48%)
HSVhsv(299, 58%, 67%)
CMYKcmyk(0.6%, 57.6%, 0%, 32.5%)
CIE-LABlab(47.50, 53.44, -34.69)
CIE-LCHlch(47.50, 63.72, 327.01°)
OKLaboklab(56.99% 0.1483 -0.0956)
OKLCHoklch(56.99% 0.176 327.2)
XYZxyz(26.6231, 16.4032, 40.7856)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB49AC #4AAC49
analogous
#7949AC #AB49AC #AC497B
triadic
#AB49AC #ACAB49 #49ACAB
tetradic
#AB49AC #AC7949 #4AAC49 #497BAC
square
#AB49AC #AC7949 #4AAC49 #497BAC
split-complementary
#AB49AC #7BAC49 #49AC79
monochromatic
#562556 #803781 #AB49AC #C170C2 #D49BD5

Accessibility & contrast

On white

4.91
#AB49AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB49AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB49AC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB49AC#FFFFFF#000000##FFFFFF
##AB49AC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#B05574
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab49ac;
/* rgb */ color: rgb(171, 73, 172);
/* oklch */ color: oklch(57.0% 0.176 327.2);
Tailwind
colors: {
  custom: {
    50: '#c781c5',
    500: '#ab49ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab49ac;
$custom-light: #c781c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab49ac",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 299.394,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.17649,
    "h": 327.2
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#AB49AC
secondary
#90C190
accent
#D05859
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB49AC

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

Preview Lab → · Contrast checker → · Palette generator →

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