#AB55BA#AB55BA

#AB55BA is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.3% C 0.171 H 321.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB55BA
RGBrgb(171, 85, 186)
HSLhsl(291, 42%, 53%)
HSVhsv(291, 54%, 73%)
CMYKcmyk(8.1%, 54.3%, 0%, 27.1%)
CIE-LABlab(50.34, 50.31, -38.40)
CIE-LCHlch(50.34, 63.29, 322.64°)
OKLaboklab(59.3% 0.1338 -0.1064)
OKLCHoklch(59.3% 0.171 321.5)
XYZxyz(28.9050, 18.7014, 48.5320)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55BA #64BA55
analogous
#7855BA #AB55BA #BA5596
triadic
#AB55BA #BAAB55 #55BAAB
tetradic
#AB55BA #BA7855 #64BA55 #5596BA
square
#AB55BA #BA7855 #64BA55 #5596BA
split-complementary
#AB55BA #96BA55 #55BA78
monochromatic
#602B6A #883D95 #AB55BA #C181CC #D6ACDD

Accessibility & contrast

On white

4.43
#AB55BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB55BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55BA#FFFFFF#000000##000000
##AB55BA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#AD637F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab55ba;
/* rgb */ color: rgb(171, 85, 186);
/* oklch */ color: oklch(59.3% 0.171 321.5);
Tailwind
colors: {
  custom: {
    50: '#c689cf',
    500: '#ab55ba',
    950: '#000000',
  },
}
SCSS
$custom: #ab55ba;
$custom-light: #c689cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55ba",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 291.089,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.171,
    "h": 321.5
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#AB55BA
secondary
#A6CBA0
accent
#D25668
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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