#AB55BC#AB55BC

#AB55BC is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.173 H 320.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB55BC
RGBrgb(171, 85, 188)
HSLhsl(290, 43%, 54%)
HSVhsv(290, 55%, 74%)
CMYKcmyk(9%, 54.8%, 0%, 26.3%)
CIE-LABlab(50.44, 50.70, -39.40)
CIE-LCHlch(50.44, 64.21, 322.15°)
OKLaboklab(59.4% 0.134 -0.1093)
OKLCHoklch(59.4% 0.173 320.8)
XYZxyz(29.1191, 18.7870, 49.6596)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55BC #66BC55
analogous
#7755BC #AB55BC #BC5599
triadic
#AB55BC #BCAB55 #55BCAB
tetradic
#AB55BC #BC7755 #66BC55 #5599BC
square
#AB55BC #BC7755 #66BC55 #5599BC
split-complementary
#AB55BC #99BC55 #55BC77
monochromatic
#612B6C #893C98 #AB55BC #C181CD #D6ADDF

Accessibility & contrast

On white

4.41
#AB55BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AB55BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55BC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55BC#FFFFFF#000000##000000
##AB55BC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#AC6480
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab55bc;
/* rgb */ color: rgb(171, 85, 188);
/* oklch */ color: oklch(59.4% 0.173 320.8);
Tailwind
colors: {
  custom: {
    50: '#c689d0',
    500: '#ab55bc',
    950: '#000000',
  },
}
SCSS
$custom: #ab55bc;
$custom-light: #c689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55bc",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 290.097,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.17297,
    "h": 320.8
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#AB55BC
secondary
#A8CCA0
accent
#D35569
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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