#AB4AC7#AB4AC7

#AB4AC7 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.200 H 318.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB4AC7
RGBrgb(171, 74, 199)
HSLhsl(287, 53%, 54%)
HSVhsv(287, 63%, 78%)
CMYKcmyk(14.1%, 62.8%, 0%, 22%)
CIE-LABlab(49.11, 58.10, -47.87)
CIE-LCHlch(49.11, 75.28, 320.51°)
OKLaboklab(58.63% 0.1485 -0.1339)
OKLCHoklch(58.63% 0.2 318)
XYZxyz(29.5507, 17.6802, 55.8778)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AC7 #66C74A
analogous
#6C4AC7 #AB4AC7 #C74AA4
triadic
#AB4AC7 #C7AB4A #4AC7AB
tetradic
#AB4AC7 #C76C4A #66C74A #4AA4C7
square
#AB4AC7 #C76C4A #66C74A #4AA4C7
split-complementary
#AB4AC7 #A4C74A #4AC76C
monochromatic
#612473 #8932A2 #AB4AC7 #C179D5 #D6A7E4

Accessibility & contrast

On white

4.63
#AB4AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB4AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4AC7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AC7#FFFFFF#000000##FFFFFF
##AB4AC71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236ECB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#AA6082
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ac7;
/* rgb */ color: rgb(171, 74, 199);
/* oklch */ color: oklch(58.6% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#c783d8',
    500: '#ab4ac7',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ac7;
$custom-light: #c783d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ac7",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 286.56,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.19995,
    "h": 318
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#AB4AC7
secondary
#A8D19C
accent
#DC4C6C
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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