#AB4AC9#AB4AC9

#AB4AC9 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.7% C 0.202 H 317.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4AC9
RGBrgb(171, 74, 201)
HSLhsl(286, 54%, 54%)
HSVhsv(286, 63%, 79%)
CMYKcmyk(14.9%, 63.2%, 0%, 21.2%)
CIE-LABlab(49.22, 58.49, -48.84)
CIE-LCHlch(49.22, 76.20, 320.14°)
OKLaboklab(58.75% 0.1485 -0.1367)
OKLCHoklch(58.75% 0.202 317.4)
XYZxyz(29.7845, 17.7737, 57.1088)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC9 #68C94A
analogous
#6C4AC9 #AB4AC9 #C94AA8
triadic
#AB4AC9 #C9AB4A #4AC9AB
tetradic
#AB4AC9 #C96C4A #68C94A #4AA8C9
square
#AB4AC9 #C96C4A #68C94A #4AA8C9
split-complementary
#AB4AC9 #A8C94A #4AC96C
monochromatic
#622376 #8931A5 #AB4AC9 #C179D7 #D7A8E5

Accessibility & contrast

On white

4.61
#AB4AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AB4AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC9#FFFFFF#000000##FFFFFF
##AB4AC91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206FCD
Deuteranopia (green-blind)
#4E78C6
Tritanopia (blue-blind)
#AA6083
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ac9;
/* rgb */ color: rgb(171, 74, 201);
/* oklch */ color: oklch(58.7% 0.202 317.4);
Tailwind
colors: {
  custom: {
    50: '#c783da',
    500: '#ab4ac9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac9;
$custom-light: #c783da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac9",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 285.827,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.20185,
    "h": 317.4
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#AB4AC9
secondary
#A9D29C
accent
#DD4A6D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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