#AB4AC8#AB4AC8

#AB4AC8 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.7% C 0.201 H 317.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB4AC8
RGBrgb(171, 74, 200)
HSLhsl(286, 53%, 54%)
HSVhsv(286, 63%, 78%)
CMYKcmyk(14.5%, 63%, 0%, 21.6%)
CIE-LABlab(49.16, 58.29, -48.36)
CIE-LCHlch(49.16, 75.74, 320.32°)
OKLaboklab(58.69% 0.1485 -0.1353)
OKLCHoklch(58.69% 0.201 317.7)
XYZxyz(29.6672, 17.7268, 56.4913)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC8 #67C84A
analogous
#6C4AC8 #AB4AC8 #C84AA6
triadic
#AB4AC8 #C8AB4A #4AC8AB
tetradic
#AB4AC8 #C86C4A #67C84A #4AA6C8
square
#AB4AC8 #C86C4A #67C84A #4AA6C8
split-complementary
#AB4AC8 #A6C84A #4AC86C
monochromatic
#622374 #8932A3 #AB4AC8 #C179D6 #D7A8E5

Accessibility & contrast

On white

4.62
#AB4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4AC8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC8#FFFFFF#000000##FFFFFF
##AB4AC81.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226FCC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#AA6082
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ac8;
/* rgb */ color: rgb(171, 74, 200);
/* oklch */ color: oklch(58.7% 0.201 317.7);
Tailwind
colors: {
  custom: {
    50: '#c783d9',
    500: '#ab4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac8;
$custom-light: #c783d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac8",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 286.19,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.20091,
    "h": 317.7
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#AB4AC8
secondary
#A8D29C
accent
#DD4B6D
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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