#AB5CBB#AB5CBB

#AB5CBB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.3% C 0.161 H 320.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB5CBB
RGBrgb(171, 92, 187)
HSLhsl(290, 41%, 55%)
HSVhsv(290, 51%, 73%)
CMYKcmyk(8.6%, 50.8%, 0%, 26.7%)
CIE-LABlab(51.73, 46.96, -36.80)
CIE-LCHlch(51.73, 59.65, 321.92°)
OKLaboklab(60.34% 0.1243 -0.1018)
OKLCHoklch(60.34% 0.161 320.7)
XYZxyz(29.5903, 19.9013, 49.2867)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CBB #6CBB5C
analogous
#7C5CBB #AB5CBB #BB5C9C
triadic
#AB5CBB #BBAB5C #5CBBAB
tetradic
#AB5CBB #BB7C5C #6CBB5C #5C9CBB
square
#AB5CBB #BB7C5C #6CBB5C #5C9CBB
split-complementary
#AB5CBB #9CBB5C #5CBB7C
monochromatic
#642E6F #8B409A #AB5CBB #C187CD #D8B2DF

Accessibility & contrast

On white

4.22
#AB5CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AB5CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CBB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CBB#FFFFFF#000000##000000
##AB5CBB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C76BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#AC6983
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5cbb;
/* rgb */ color: rgb(171, 92, 187);
/* oklch */ color: oklch(60.3% 0.161 320.7);
Tailwind
colors: {
  custom: {
    50: '#c68dd0',
    500: '#ab5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cbb;
$custom-light: #c68dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cbb",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 289.895,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.16071,
    "h": 320.7
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#AB5CBB
secondary
#ACCDA5
accent
#D1576B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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