#AB55AC#AB55AC

#AB55AC is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.158 H 326.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AB55AC
RGBrgb(171, 85, 172)
HSLhsl(299, 34%, 50%)
HSVhsv(299, 51%, 67%)
CMYKcmyk(0.6%, 50.6%, 0%, 32.5%)
CIE-LABlab(49.66, 47.64, -31.30)
CIE-LCHlch(49.66, 57.01, 326.69°)
OKLaboklab(58.58% 0.132 -0.086)
OKLCHoklch(58.58% 0.158 326.9)
XYZxyz(27.4890, 18.1350, 41.0742)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55AC #56AC55
analogous
#7F55AC #AB55AC #AC5582
triadic
#AB55AC #ACAB55 #55ACAB
tetradic
#AB55AC #AC7F55 #56AC55 #5582AC
square
#AB55AC #AC7F55 #56AC55 #5582AC
split-complementary
#AB55AC #82AC55 #55AC7F
monochromatic
#5A2C5A #834084 #AB55AC #BF7EC0 #D4A7D4

Accessibility & contrast

On white

4.54
#AB55AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AB55AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55AC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55AC#FFFFFF#000000##000000
##AB55AC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab55ac;
/* rgb */ color: rgb(171, 85, 172);
/* oklch */ color: oklch(58.6% 0.158 326.9);
Tailwind
colors: {
  custom: {
    50: '#c688c5',
    500: '#ab55ac',
    950: '#000000',
  },
}
SCSS
$custom: #ab55ac;
$custom-light: #c688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55ac",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 299.31,
    "s": 34.387,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.15756,
    "h": 326.9
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#AB55AC
secondary
#9BC29B
accent
#CA5D5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB55AC

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

Preview Lab → · Contrast checker → · Palette generator →

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