#AB43AC#AB43AC

#AB43AC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.185 H 327.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB43AC
RGBrgb(171, 67, 172)
HSLhsl(299, 44%, 47%)
HSVhsv(299, 61%, 67%)
CMYKcmyk(0.6%, 61%, 0%, 32.5%)
CIE-LABlab(46.52, 56.14, -36.24)
CIE-LCHlch(46.52, 66.82, 327.16°)
OKLaboklab(56.27% 0.1559 -0.1)
OKLCHoklch(56.27% 0.185 327.3)
XYZxyz(26.2477, 15.6525, 40.6605)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB43AC #44AC43
analogous
#7743AC #AB43AC #AC4378
triadic
#AB43AC #ACAB43 #43ACAB
tetradic
#AB43AC #AC7743 #44AC43 #4378AC
square
#AB43AC #AC7743 #44AC43 #4378AC
split-complementary
#AB43AC #78AC43 #43AC77
monochromatic
#532154 #7F3280 #AB43AC #C368C4 #D594D5

Accessibility & contrast

On white

5.08
#AB43AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB43AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB43AC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB43AC#FFFFFF#000000##FFFFFF
##AB43AC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#B05071
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab43ac;
/* rgb */ color: rgb(171, 67, 172);
/* oklch */ color: oklch(56.3% 0.185 327.3);
Tailwind
colors: {
  custom: {
    50: '#c77ec5',
    500: '#ab43ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab43ac;
$custom-light: #c77ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab43ac",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 299.429,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.18527,
    "h": 327.3
  },
  "luminance": 0.15651
}

Semantic roles & 50–950 ramp

primary
#AB43AC
secondary
#8AC18A
accent
#D45455
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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