#AB4EAE#AB4EAE

#AB4EAE is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.171 H 326.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB4EAE
RGBrgb(171, 78, 174)
HSLhsl(298, 38%, 49%)
HSVhsv(298, 55%, 68%)
CMYKcmyk(1.7%, 55.2%, 0%, 31.8%)
CIE-LABlab(48.47, 51.45, -34.35)
CIE-LCHlch(48.47, 61.86, 326.28°)
OKLaboklab(57.73% 0.142 -0.0947)
OKLCHoklch(57.73% 0.171 326.3)
XYZxyz(27.1584, 17.1642, 41.9187)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EAE #51AE4E
analogous
#7B4EAE #AB4EAE #AE4E81
triadic
#AB4EAE #AEAB4E #4EAEAB
tetradic
#AB4EAE #AE7B4E #51AE4E #4E81AE
square
#AB4EAE #AE7B4E #51AE4E #4E81AE
split-complementary
#AB4EAE #81AE4E #4EAE7B
monochromatic
#582859 #813B84 #AB4EAE #C077C2 #D3A1D5

Accessibility & contrast

On white

4.74
#AB4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EAE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EAE#FFFFFF#000000##FFFFFF
##AB4EAE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#AF5A77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4eae;
/* rgb */ color: rgb(171, 78, 174);
/* oklch */ color: oklch(57.7% 0.171 326.3);
Tailwind
colors: {
  custom: {
    50: '#c684c6',
    500: '#ab4eae',
    950: '#000000',
  },
}
SCSS
$custom: #ab4eae;
$custom-light: #c684c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4eae",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 298.125,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.17062,
    "h": 326.3
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#AB4EAE
secondary
#97C296
accent
#CE5A5D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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