#AB4FA4#AB4FA4

#AB4FA4 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.160 H 330.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AB4FA4
RGBrgb(171, 79, 164)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 53.8%, 4.1%, 32.9%)
CIE-LABlab(48.17, 49.17, -28.92)
CIE-LCHlch(48.17, 57.04, 329.54°)
OKLaboklab(57.36% 0.1392 -0.0791)
OKLCHoklch(57.36% 0.16 330.4)
XYZxyz(26.2912, 16.9319, 36.9982)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FA4 #4FAB56
analogous
#844FAB #AB4FA4 #AB4F76
triadic
#AB4FA4 #A4AB4F #4FA4AB
tetradic
#AB4FA4 #AB844F #4FAB56 #4F76AB
square
#AB4FA4 #AB844F #4FAB56 #4F76AB
split-complementary
#AB4FA4 #76AB4F #4FAB84
monochromatic
#572854 #813C7C #AB4FA4 #C077BB #D4A1D0

Accessibility & contrast

On white

4.79
#AB4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB4FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4FA4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FA4#FFFFFF#000000##FFFFFF
##AB4FA41.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#B15772
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4fa4;
/* rgb */ color: rgb(171, 79, 164);
/* oklch */ color: oklch(57.4% 0.160 330.4);
Tailwind
colors: {
  custom: {
    50: '#c685bf',
    500: '#ab4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fa4;
$custom-light: #c685bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fa4",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 304.565,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.1601,
    "h": 330.4
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#AB4FA4
secondary
#95C199
accent
#CD645B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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