#AB4AC2#AB4AC2

#AB4AC2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.195 H 319.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB4AC2
RGBrgb(171, 74, 194)
HSLhsl(289, 50%, 53%)
HSVhsv(289, 62%, 76%)
CMYKcmyk(11.9%, 61.9%, 0%, 23.9%)
CIE-LABlab(48.82, 57.11, -45.43)
CIE-LCHlch(48.82, 72.98, 321.50°)
OKLaboklab(58.33% 0.1484 -0.1268)
OKLCHoklch(58.33% 0.195 319.5)
XYZxyz(28.9797, 17.4518, 52.8705)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC2 #61C24A
analogous
#6F4AC2 #AB4AC2 #C24A9D
triadic
#AB4AC2 #C2AB4A #4AC2AB
tetradic
#AB4AC2 #C26F4A #61C24A #4A9DC2
square
#AB4AC2 #C26F4A #61C24A #4A9DC2
split-complementary
#AB4AC2 #9DC24A #4AC26F
monochromatic
#5F256D #87349B #AB4AC2 #C078D1 #D5A6E1

Accessibility & contrast

On white

4.68
#AB4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC2#FFFFFF#000000##FFFFFF
##AB4AC21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#5377BF
Tritanopia (blue-blind)
#AB5E7F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4ac2;
/* rgb */ color: rgb(171, 74, 194);
/* oklch */ color: oklch(58.3% 0.195 319.5);
Tailwind
colors: {
  custom: {
    50: '#c782d5',
    500: '#ab4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac2;
$custom-light: #c782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac2",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 288.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.19521,
    "h": 319.5
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#AB4AC2
secondary
#A4CE9A
accent
#D94F69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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