#AB5BBD#AB5BBD

#AB5BBD is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.164 H 320.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB5BBD
RGBrgb(171, 91, 189)
HSLhsl(289, 43%, 55%)
HSVhsv(289, 52%, 74%)
CMYKcmyk(9.5%, 51.9%, 0%, 25.9%)
CIE-LABlab(51.63, 47.87, -38.10)
CIE-LCHlch(51.63, 61.18, 321.48°)
OKLaboklab(60.3% 0.126 -0.1056)
OKLCHoklch(60.3% 0.164 320)
XYZxyz(29.7198, 19.8154, 50.3935)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BBD #6DBD5B
analogous
#7A5BBD #AB5BBD #BD5B9E
triadic
#AB5BBD #BDAB5B #5BBDAB
tetradic
#AB5BBD #BD7A5B #6DBD5B #5B9EBD
square
#AB5BBD #BD7A5B #6DBD5B #5B9EBD
split-complementary
#AB5BBD #9EBD5B #5BBD7A
monochromatic
#642D70 #8B3F9C #AB5BBD #C187CF #D8B2E0

Accessibility & contrast

On white

4.23
#AB5BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AB5BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BBD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BBD#FFFFFF#000000##000000
##AB5BBD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#AC6984
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5bbd;
/* rgb */ color: rgb(171, 91, 189);
/* oklch */ color: oklch(60.3% 0.164 320.0);
Tailwind
colors: {
  custom: {
    50: '#c68cd1',
    500: '#ab5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bbd;
$custom-light: #c68cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bbd",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 288.98,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.16438,
    "h": 320
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#AB5BBD
secondary
#ADCFA5
accent
#D2556C
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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