#AB4DA4#AB4DA4

#AB4DA4 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.1% C 0.163 H 330.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB4DA4
RGBrgb(171, 77, 164)
HSLhsl(304, 38%, 49%)
HSVhsv(304, 55%, 67%)
CMYKcmyk(0%, 55%, 4.1%, 32.9%)
CIE-LABlab(47.81, 50.14, -29.48)
CIE-LCHlch(47.81, 58.16, 329.54°)
OKLaboklab(57.1% 0.142 -0.0807)
OKLCHoklch(57.1% 0.163 330.4)
XYZxyz(26.1491, 16.6477, 36.9508)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DA4 #4DAB54
analogous
#834DAB #AB4DA4 #AB4D75
triadic
#AB4DA4 #A4AB4D #4DA4AB
tetradic
#AB4DA4 #AB834D #4DAB54 #4D75AB
square
#AB4DA4 #AB834D #4DAB54 #4D75AB
split-complementary
#AB4DA4 #75AB4D #4DAB83
monochromatic
#572753 #813A7C #AB4DA4 #C175BB #D49FD0

Accessibility & contrast

On white

4.85
#AB4DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB4DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DA4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DA4#FFFFFF#000000##FFFFFF
##AB4DA41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#6576A1
Tritanopia (blue-blind)
#B15571
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab4da4;
/* rgb */ color: rgb(171, 77, 164);
/* oklch */ color: oklch(57.1% 0.163 330.4);
Tailwind
colors: {
  custom: {
    50: '#c683bf',
    500: '#ab4da4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4da4;
$custom-light: #c683bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4da4",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 164
  },
  "hsl": {
    "h": 304.468,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.16329,
    "h": 330.4
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#AB4DA4
secondary
#93C097
accent
#CE635A
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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