#AB50AD#AB50AD

#AB50AD is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.9% C 0.167 H 326.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB50AD
RGBrgb(171, 80, 173)
HSLhsl(299, 37%, 50%)
HSVhsv(299, 54%, 68%)
CMYKcmyk(1.2%, 53.8%, 0%, 32.2%)
CIE-LABlab(48.78, 50.30, -33.27)
CIE-LCHlch(48.78, 60.31, 326.52°)
OKLaboklab(57.94% 0.1391 -0.0916)
OKLCHoklch(57.94% 0.167 326.6)
XYZxyz(27.2056, 17.4139, 41.4553)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50AD #52AD50
analogous
#7D50AD #AB50AD #AD5080
triadic
#AB50AD #ADAB50 #50ADAB
tetradic
#AB50AD #AD7D50 #52AD50 #5080AD
square
#AB50AD #AD7D50 #52AD50 #5080AD
split-complementary
#AB50AD #80AD50 #50AD7D
monochromatic
#582959 #823D83 #AB50AD #C079C1 #D3A3D4

Accessibility & contrast

On white

4.68
#AB50AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AB50AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB50AD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50AD#FFFFFF#000000##FFFFFF
##AB50AD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CB0
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#AF5B77
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab50ad;
/* rgb */ color: rgb(171, 80, 173);
/* oklch */ color: oklch(57.9% 0.167 326.6);
Tailwind
colors: {
  custom: {
    50: '#c685c6',
    500: '#ab50ad',
    950: '#000000',
  },
}
SCSS
$custom: #ab50ad;
$custom-light: #c685c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50ad",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 173
  },
  "hsl": {
    "h": 298.71,
    "s": 36.759,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.16656,
    "h": 326.6
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#AB50AD
secondary
#98C297
accent
#CD5B5D
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB50AD

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

Preview Lab → · Contrast checker → · Palette generator →

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