#AB54AE#AB54AE

#AB54AE is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.5% C 0.161 H 326.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AB54AE
RGBrgb(171, 84, 174)
HSLhsl(298, 36%, 51%)
HSVhsv(298, 52%, 68%)
CMYKcmyk(1.7%, 51.7%, 0%, 31.8%)
CIE-LABlab(49.56, 48.51, -32.62)
CIE-LCHlch(49.56, 58.46, 326.08°)
OKLaboklab(58.54% 0.1337 -0.0898)
OKLCHoklch(58.54% 0.161 326.1)
XYZxyz(27.6043, 18.0561, 42.0674)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54AE #57AE54
analogous
#7E54AE #AB54AE #AE5484
triadic
#AB54AE #AEAB54 #54AEAB
tetradic
#AB54AE #AE7E54 #57AE54 #5484AE
square
#AB54AE #AE7E54 #57AE54 #5484AE
split-complementary
#AB54AE #84AE54 #54AE7E
monochromatic
#5A2C5C #833F86 #AB54AE #BF7EC2 #D4A7D5

Accessibility & contrast

On white

4.55
#AB54AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AB54AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54AE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54AE#FFFFFF#000000##000000
##AB54AE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#AF5E79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab54ae;
/* rgb */ color: rgb(171, 84, 174);
/* oklch */ color: oklch(58.5% 0.161 326.1);
Tailwind
colors: {
  custom: {
    50: '#c688c6',
    500: '#ab54ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab54ae;
$custom-light: #c688c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54ae",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 298,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.16107,
    "h": 326.1
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#AB54AE
secondary
#9CC39B
accent
#CC5C60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB54AE

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

Preview Lab → · Contrast checker → · Palette generator →

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