#AB4AC3#AB4AC3

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

Color values

HEX#AB4AC3
RGBrgb(171, 74, 195)
HSLhsl(288, 50%, 53%)
HSVhsv(288, 62%, 76%)
CMYKcmyk(12.3%, 62.1%, 0%, 23.5%)
CIE-LABlab(48.88, 57.31, -45.92)
CIE-LCHlch(48.88, 73.44, 321.29°)
OKLaboklab(58.39% 0.1484 -0.1282)
OKLCHoklch(58.39% 0.196 319.2)
XYZxyz(29.0924, 17.4969, 53.4640)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC3 #62C34A
analogous
#6E4AC3 #AB4AC3 #C34A9E
triadic
#AB4AC3 #C3AB4A #4AC3AB
tetradic
#AB4AC3 #C36E4A #62C34A #4A9EC3
square
#AB4AC3 #C36E4A #62C34A #4A9EC3
split-complementary
#AB4AC3 #9EC34A #4AC36E
monochromatic
#60246E #87349C #AB4AC3 #C078D2 #D6A6E1

Accessibility & contrast

On white

4.67
#AB4AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AB4AC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AC3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC3#FFFFFF#000000##FFFFFF
##AB4AC31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC7
Deuteranopia (green-blind)
#5277C0
Tritanopia (blue-blind)
#AB5E80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4ac3;
/* rgb */ color: rgb(171, 74, 195);
/* oklch */ color: oklch(58.4% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#c782d6',
    500: '#ab4ac3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac3;
$custom-light: #c782d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac3",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 288.099,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.19616,
    "h": 319.2
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#AB4AC3
secondary
#A5CF9A
accent
#DA4E6A
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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