#AB5CBD#AB5CBD

#AB5CBD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.4% C 0.163 H 319.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB5CBD
RGBrgb(171, 92, 189)
HSLhsl(289, 42%, 55%)
HSVhsv(289, 51%, 74%)
CMYKcmyk(9.5%, 51.3%, 0%, 25.9%)
CIE-LABlab(51.82, 47.36, -37.80)
CIE-LCHlch(51.82, 60.59, 321.40°)
OKLaboklab(60.44% 0.1246 -0.1047)
OKLCHoklch(60.44% 0.163 319.9)
XYZxyz(29.8059, 19.9875, 50.4222)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5CBD #6EBD5C
analogous
#7A5CBD #AB5CBD #BD5C9E
triadic
#AB5CBD #BDAB5C #5CBDAB
tetradic
#AB5CBD #BD7A5C #6EBD5C #5C9EBD
square
#AB5CBD #BD7A5C #6EBD5C #5C9EBD
split-complementary
#AB5CBD #9EBD5C #5CBD7A
monochromatic
#642E71 #8B3F9C #AB5CBD #C188CF #D8B3E0

Accessibility & contrast

On white

4.20
#AB5CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AB5CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5CBD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5CBD#FFFFFF#000000##000000
##AB5CBD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#AC6A84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab5cbd;
/* rgb */ color: rgb(171, 92, 189);
/* oklch */ color: oklch(60.4% 0.163 319.9);
Tailwind
colors: {
  custom: {
    50: '#c68dd1',
    500: '#ab5cbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5cbd;
$custom-light: #c68dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5cbd",
  "rgb": {
    "r": 171,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 288.866,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.16274,
    "h": 319.9
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#AB5CBD
secondary
#AECFA6
accent
#D2566D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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