#AB55BF#AB55BF

#AB55BF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.176 H 319.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB55BF
RGBrgb(171, 85, 191)
HSLhsl(289, 45%, 54%)
HSVhsv(289, 55%, 75%)
CMYKcmyk(10.5%, 55.5%, 0%, 25.1%)
CIE-LABlab(50.59, 51.29, -40.90)
CIE-LCHlch(50.59, 65.60, 321.44°)
OKLaboklab(59.57% 0.1343 -0.1137)
OKLCHoklch(59.57% 0.176 319.8)
XYZxyz(29.4459, 18.9177, 51.3805)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55BF #69BF55
analogous
#7655BF #AB55BF #BF559E
triadic
#AB55BF #BFAB55 #55BFAB
tetradic
#AB55BF #BF7655 #69BF55 #559EBF
square
#AB55BF #BF7655 #69BF55 #559EBF
split-complementary
#AB55BF #9EBF55 #55BF76
monochromatic
#622A70 #8A3B9C #AB55BF #C181D0 #D7AEE0

Accessibility & contrast

On white

4.39
#AB55BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB55BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55BF#FFFFFF#000000##000000
##AB55BF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#AC6582
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab55bf;
/* rgb */ color: rgb(171, 85, 191);
/* oklch */ color: oklch(59.6% 0.176 319.8);
Tailwind
colors: {
  custom: {
    50: '#c689d3',
    500: '#ab55bf',
    950: '#000000',
  },
}
SCSS
$custom: #ab55bf;
$custom-light: #c689d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55bf",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 288.679,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.17595,
    "h": 319.8
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#AB55BF
secondary
#AACEA1
accent
#D5536B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB55BF

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

Preview Lab → · Contrast checker → · Palette generator →

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