#AB54AC#AB54AC

#AB54AC is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.4% C 0.159 H 326.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB54AC
RGBrgb(171, 84, 172)
HSLhsl(299, 35%, 50%)
HSVhsv(299, 51%, 67%)
CMYKcmyk(0.6%, 51.2%, 0%, 32.5%)
CIE-LABlab(49.47, 48.14, -31.60)
CIE-LCHlch(49.47, 57.59, 326.72°)
OKLaboklab(58.44% 0.1334 -0.0868)
OKLCHoklch(58.44% 0.159 326.9)
XYZxyz(27.4108, 17.9786, 41.0482)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54AC #55AC54
analogous
#7F54AC #AB54AC #AC5481
triadic
#AB54AC #ACAB54 #54ACAB
tetradic
#AB54AC #AC7F54 #55AC54 #5481AC
square
#AB54AC #AC7F54 #55AC54 #5481AC
split-complementary
#AB54AC #81AC54 #54AC7F
monochromatic
#592C5A #824083 #AB54AC #BF7DC0 #D3A6D4

Accessibility & contrast

On white

4.57
#AB54AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB54AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54AC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54AC#FFFFFF#000000##000000
##AB54AC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAF
Deuteranopia (green-blind)
#667AA9
Tritanopia (blue-blind)
#AF5E78
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab54ac;
/* rgb */ color: rgb(171, 84, 172);
/* oklch */ color: oklch(58.4% 0.159 326.9);
Tailwind
colors: {
  custom: {
    50: '#c688c5',
    500: '#ab54ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab54ac;
$custom-light: #c688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54ac",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 299.318,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.1592,
    "h": 326.9
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#AB54AC
secondary
#9BC29A
accent
#CB5D5E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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