#AB5BBF#AB5BBF

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

Color values

HEX#AB5BBF
RGBrgb(171, 91, 191)
HSLhsl(288, 44%, 55%)
HSVhsv(288, 52%, 75%)
CMYKcmyk(10.5%, 52.4%, 0%, 25.1%)
CIE-LABlab(51.73, 48.27, -39.10)
CIE-LCHlch(51.73, 62.12, 320.99°)
OKLaboklab(60.4% 0.1262 -0.1085)
OKLCHoklch(60.4% 0.166 319.3)
XYZxyz(29.9384, 19.9029, 51.5447)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BBF #6FBF5B
analogous
#795BBF #AB5BBF #BF5BA1
triadic
#AB5BBF #BFAB5B #5BBFAB
tetradic
#AB5BBF #BF795B #6FBF5B #5BA1BF
square
#AB5BBF #BF795B #6FBF5B #5BA1BF
split-complementary
#AB5BBF #A1BF5B #5BBF79
monochromatic
#652D73 #8B3E9F #AB5BBF #C287D0 #D8B3E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5BBF#FFFFFF#000000##000000
##AB5BBF1.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)
#4876C2
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#AC6984
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5bbf;
/* rgb */ color: rgb(171, 91, 191);
/* oklch */ color: oklch(60.4% 0.166 319.3);
Tailwind
colors: {
  custom: {
    50: '#c68cd3',
    500: '#ab5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bbf;
$custom-light: #c68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bbf",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 288,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.16642,
    "h": 319.3
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#AB5BBF
secondary
#AED0A6
accent
#D4546E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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