#AB4DAD#AB4DAD

#AB4DAD is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.171 H 326.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB4DAD
RGBrgb(171, 77, 173)
HSLhsl(299, 38%, 49%)
HSVhsv(299, 55%, 68%)
CMYKcmyk(1.2%, 55.5%, 0%, 32.2%)
CIE-LABlab(48.24, 51.75, -34.11)
CIE-LCHlch(48.24, 61.98, 326.61°)
OKLaboklab(57.55% 0.1432 -0.094)
OKLCHoklch(57.55% 0.171 326.7)
XYZxyz(26.9908, 16.9844, 41.3837)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DAD #4FAD4D
analogous
#7B4DAD #AB4DAD #AD4D7F
triadic
#AB4DAD #ADAB4D #4DADAB
tetradic
#AB4DAD #AD7B4D #4FAD4D #4D7FAD
square
#AB4DAD #AD7B4D #4FAD4D #4D7FAD
split-complementary
#AB4DAD #7FAD4D #4DAD7B
monochromatic
#572758 #813A83 #AB4DAD #C075C2 #D4A0D5

Accessibility & contrast

On white

4.78
#AB4DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB4DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DAD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DAD#FFFFFF#000000##FFFFFF
##AB4DAD1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#6077AA
Tritanopia (blue-blind)
#AF5976
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4dad;
/* rgb */ color: rgb(171, 77, 173);
/* oklch */ color: oklch(57.6% 0.171 326.7);
Tailwind
colors: {
  custom: {
    50: '#c684c6',
    500: '#ab4dad',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dad;
$custom-light: #c684c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dad",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 298.75,
    "s": 38.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.17128,
    "h": 326.7
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#AB4DAD
secondary
#95C294
accent
#CE595C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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