#AB4AC4#AB4AC4

#AB4AC4 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.197 H 318.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB4AC4
RGBrgb(171, 74, 196)
HSLhsl(288, 51%, 53%)
HSVhsv(288, 62%, 77%)
CMYKcmyk(12.8%, 62.2%, 0%, 23.1%)
CIE-LABlab(48.94, 57.50, -46.41)
CIE-LCHlch(48.94, 73.90, 321.09°)
OKLaboklab(58.45% 0.1485 -0.1296)
OKLCHoklch(58.45% 0.197 318.9)
XYZxyz(29.2059, 17.5423, 54.0614)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC4 #63C44A
analogous
#6E4AC4 #AB4AC4 #C44AA0
triadic
#AB4AC4 #C4AB4A #4AC4AB
tetradic
#AB4AC4 #C46E4A #63C44A #4AA0C4
square
#AB4AC4 #C46E4A #63C44A #4AA0C4
split-complementary
#AB4AC4 #A0C44A #4AC46E
monochromatic
#60246F #88339D #AB4AC4 #C078D3 #D6A6E2

Accessibility & contrast

On white

4.66
#AB4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AB4AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AC4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC4#FFFFFF#000000##FFFFFF
##AB4AC41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC8
Deuteranopia (green-blind)
#5178C1
Tritanopia (blue-blind)
#AB5F80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4ac4;
/* rgb */ color: rgb(171, 74, 196);
/* oklch */ color: oklch(58.4% 0.197 318.9);
Tailwind
colors: {
  custom: {
    50: '#c782d6',
    500: '#ab4ac4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac4;
$custom-light: #c782d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac4",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 287.705,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.1971,
    "h": 318.9
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#AB4AC4
secondary
#A5CF9B
accent
#DA4D6A
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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