#AB55BD#AB55BD

#AB55BD is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.174 H 320.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB55BD
RGBrgb(171, 85, 189)
HSLhsl(290, 44%, 54%)
HSVhsv(290, 55%, 74%)
CMYKcmyk(9.5%, 55%, 0%, 25.9%)
CIE-LABlab(50.49, 50.90, -39.90)
CIE-LCHlch(50.49, 64.67, 321.91°)
OKLaboklab(59.46% 0.1341 -0.1108)
OKLCHoklch(59.46% 0.174 320.4)
XYZxyz(29.2273, 18.8303, 50.2293)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55BD #67BD55
analogous
#7755BD #AB55BD #BD559B
triadic
#AB55BD #BDAB55 #55BDAB
tetradic
#AB55BD #BD7755 #67BD55 #559BBD
square
#AB55BD #BD7755 #67BD55 #559BBD
split-complementary
#AB55BD #9BBD55 #55BD77
monochromatic
#622A6D #893C99 #AB55BD #C181CE #D7ADDF

Accessibility & contrast

On white

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

On black

4.77
#AB55BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55BD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55BD#FFFFFF#000000##000000
##AB55BD1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#AC6481
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab55bd;
/* rgb */ color: rgb(171, 85, 189);
/* oklch */ color: oklch(59.5% 0.174 320.4);
Tailwind
colors: {
  custom: {
    50: '#c689d1',
    500: '#ab55bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab55bd;
$custom-light: #c689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55bd",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 289.615,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59459,
    "c": 0.17395,
    "h": 320.4
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#AB55BD
secondary
#A8CDA1
accent
#D4546A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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