#AB4FA0#AB4FA0

#AB4FA0 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.157 H 332.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4FA0
RGBrgb(171, 79, 160)
HSLhsl(307, 37%, 49%)
HSVhsv(307, 54%, 67%)
CMYKcmyk(0%, 53.8%, 6.4%, 32.9%)
CIE-LABlab(47.99, 48.47, -26.83)
CIE-LCHlch(47.99, 55.40, 331.03°)
OKLaboklab(57.17% 0.1385 -0.0732)
OKLCHoklch(57.17% 0.157 332.2)
XYZxyz(25.9356, 16.7897, 35.1256)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FA0 #4FAB5A
analogous
#884FAB #AB4FA0 #AB4F72
triadic
#AB4FA0 #A0AB4F #4FA0AB
tetradic
#AB4FA0 #AB884F #4FAB5A #4F72AB
square
#AB4FA0 #AB884F #4FAB5A #4F72AB
split-complementary
#AB4FA0 #72AB4F #4FAB88
monochromatic
#572852 #813C79 #AB4FA0 #C077B7 #D4A1CD

Accessibility & contrast

On white

4.82
#AB4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB4FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4FA0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FA0#FFFFFF#000000##FFFFFF
##AB4FA01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA3
Deuteranopia (green-blind)
#67779D
Tritanopia (blue-blind)
#B25670
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4fa0;
/* rgb */ color: rgb(171, 79, 160);
/* oklch */ color: oklch(57.2% 0.157 332.2);
Tailwind
colors: {
  custom: {
    50: '#c684bc',
    500: '#ab4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fa0;
$custom-light: #c684bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fa0",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 307.174,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.15664,
    "h": 332.2
  },
  "luminance": 0.16788
}

Semantic roles & 50–950 ramp

primary
#AB4FA0
secondary
#95C19A
accent
#CD695B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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