#AB5BC0#AB5BC0

#AB5BC0 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.5% C 0.167 H 319.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB5BC0
RGBrgb(171, 91, 192)
HSLhsl(288, 44%, 55%)
HSVhsv(288, 53%, 75%)
CMYKcmyk(10.9%, 52.6%, 0%, 24.7%)
CIE-LABlab(51.78, 48.47, -39.60)
CIE-LCHlch(51.78, 62.59, 320.75°)
OKLaboklab(60.46% 0.1263 -0.11)
OKLCHoklch(60.46% 0.167 319)
XYZxyz(30.0489, 19.9470, 52.1263)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BC0 #70C05B
analogous
#795BC0 #AB5BC0 #C05BA2
triadic
#AB5BC0 #C0AB5B #5BC0AB
tetradic
#AB5BC0 #C0795B #70C05B #5BA2C0
square
#AB5BC0 #C0795B #70C05B #5BA2C0
split-complementary
#AB5BC0 #A2C05B #5BC079
monochromatic
#652D74 #8C3EA0 #AB5BC0 #C287D1 #D8B3E2

Accessibility & contrast

On white

4.21
#AB5BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AB5BC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BC0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BC0#FFFFFF#000000##000000
##AB5BC01.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4876C3
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#AB6A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5bc0;
/* rgb */ color: rgb(171, 91, 192);
/* oklch */ color: oklch(60.5% 0.167 319.0);
Tailwind
colors: {
  custom: {
    50: '#c68cd3',
    500: '#ab5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bc0;
$custom-light: #c68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bc0",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 287.525,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.16745,
    "h": 319
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#AB5BC0
secondary
#AFD0A6
accent
#D4546E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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