#AB4DA0#AB4DA0

#AB4DA0 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.160 H 332.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB4DA0
RGBrgb(171, 77, 160)
HSLhsl(307, 38%, 49%)
HSVhsv(307, 55%, 67%)
CMYKcmyk(0%, 55%, 6.4%, 32.9%)
CIE-LABlab(47.63, 49.44, -27.40)
CIE-LCHlch(47.63, 56.53, 331.01°)
OKLaboklab(56.9% 0.1413 -0.0747)
OKLCHoklch(56.9% 0.16 332.1)
XYZxyz(25.7935, 16.5055, 35.0782)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DA0 #4DAB58
analogous
#874DAB #AB4DA0 #AB4D71
triadic
#AB4DA0 #A0AB4D #4DA0AB
tetradic
#AB4DA0 #AB874D #4DAB58 #4D71AB
square
#AB4DA0 #AB874D #4DAB58 #4D71AB
split-complementary
#AB4DA0 #71AB4D #4DAB87
monochromatic
#572751 #813A79 #AB4DA0 #C175B8 #D49FCD

Accessibility & contrast

On white

4.88
#AB4DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB4DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DA0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DA0#FFFFFF#000000##FFFFFF
##AB4DA01.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A3
Deuteranopia (green-blind)
#66769D
Tritanopia (blue-blind)
#B2546F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab4da0;
/* rgb */ color: rgb(171, 77, 160);
/* oklch */ color: oklch(56.9% 0.160 332.1);
Tailwind
colors: {
  custom: {
    50: '#c683bc',
    500: '#ab4da0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4da0;
$custom-light: #c683bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4da0",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 307.021,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.15986,
    "h": 332.1
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#AB4DA0
secondary
#93C099
accent
#CE685A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AB4DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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