#AB4AC6#AB4AC6

#AB4AC6 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.199 H 318.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4AC6
RGBrgb(171, 74, 198)
HSLhsl(287, 52%, 53%)
HSVhsv(287, 63%, 78%)
CMYKcmyk(13.6%, 62.6%, 0%, 22.4%)
CIE-LABlab(49.05, 57.90, -47.39)
CIE-LCHlch(49.05, 74.82, 320.70°)
OKLaboklab(58.57% 0.1485 -0.1325)
OKLCHoklch(58.57% 0.199 318.3)
XYZxyz(29.4350, 17.6339, 55.2683)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC6 #65C64A
analogous
#6D4AC6 #AB4AC6 #C64AA3
triadic
#AB4AC6 #C6AB4A #4AC6AB
tetradic
#AB4AC6 #C66D4A #65C64A #4AA3C6
square
#AB4AC6 #C66D4A #65C64A #4AA3C6
split-complementary
#AB4AC6 #A3C64A #4AC66D
monochromatic
#612472 #8832A0 #AB4AC6 #C179D5 #D6A7E3

Accessibility & contrast

On white

4.64
#AB4AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AB4AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AC6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC6#FFFFFF#000000##FFFFFF
##AB4AC61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256ECA
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#AB5F81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ac6;
/* rgb */ color: rgb(171, 74, 198);
/* oklch */ color: oklch(58.6% 0.199 318.3);
Tailwind
colors: {
  custom: {
    50: '#c783d8',
    500: '#ab4ac6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac6;
$custom-light: #c783d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac6",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 198
  },
  "hsl": {
    "h": 286.935,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.199,
    "h": 318.3
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#AB4AC6
secondary
#A7D19B
accent
#DC4C6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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