#AB4CAE#AB4CAE

#AB4CAE is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.174 H 326.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB4CAE
RGBrgb(171, 76, 174)
HSLhsl(298, 39%, 49%)
HSVhsv(298, 56%, 68%)
CMYKcmyk(1.7%, 56.3%, 0%, 31.8%)
CIE-LABlab(48.11, 52.41, -34.90)
CIE-LCHlch(48.11, 62.96, 326.34°)
OKLaboklab(57.47% 0.1446 -0.0962)
OKLCHoklch(57.47% 0.174 326.4)
XYZxyz(27.0185, 16.8844, 41.8721)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CAE #4FAE4C
analogous
#7A4CAE #AB4CAE #AE4C80
triadic
#AB4CAE #AEAB4C #4CAEAB
tetradic
#AB4CAE #AE7A4C #4FAE4C #4C80AE
square
#AB4CAE #AE7A4C #4FAE4C #4C80AE
split-complementary
#AB4CAE #80AE4C #4CAE7A
monochromatic
#572759 #813983 #AB4CAE #C075C3 #D49FD5

Accessibility & contrast

On white

4.80
#AB4CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AB4CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4CAE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CAE#FFFFFF#000000##FFFFFF
##AB4CAE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#AF5876
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab4cae;
/* rgb */ color: rgb(171, 76, 174);
/* oklch */ color: oklch(57.5% 0.174 326.4);
Tailwind
colors: {
  custom: {
    50: '#c683c6',
    500: '#ab4cae',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cae;
$custom-light: #c683c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cae",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 298.163,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.17372,
    "h": 326.4
  },
  "luminance": 0.16883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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