#AB54A4#AB54A4

#AB54A4 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.1% C 0.152 H 330.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB54A4
RGBrgb(171, 84, 164)
HSLhsl(305, 34%, 50%)
HSVhsv(305, 51%, 67%)
CMYKcmyk(0%, 50.9%, 4.1%, 32.9%)
CIE-LABlab(49.11, 46.69, -27.47)
CIE-LCHlch(49.11, 54.17, 329.53°)
OKLaboklab(58.05% 0.1321 -0.075)
OKLCHoklch(58.05% 0.152 330.4)
XYZxyz(26.6655, 17.6805, 37.1229)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54A4 #54AB5B
analogous
#8754AB #AB54A4 #AB5478
triadic
#AB54A4 #A4AB54 #54A4AB
tetradic
#AB54A4 #AB8754 #54AB5B #5478AB
square
#AB54A4 #AB8754 #54AB5B #5478AB
split-complementary
#AB54A4 #78AB54 #54AB87
monochromatic
#592C55 #82407D #AB54A4 #BF7DBA #D3A6D0

Accessibility & contrast

On white

4.63
#AB54A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AB54A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB54A4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54A4#FFFFFF#000000##FFFFFF
##AB54A41.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA7
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#B15B74
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab54a4;
/* rgb */ color: rgb(171, 84, 164);
/* oklch */ color: oklch(58.1% 0.152 330.4);
Tailwind
colors: {
  custom: {
    50: '#c688bf',
    500: '#ab54a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab54a4;
$custom-light: #c688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54a4",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 304.828,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.15191,
    "h": 330.4
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#AB54A4
secondary
#9AC19D
accent
#CA665E
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AB54A4

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

Preview Lab → · Contrast checker → · Palette generator →

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