#AB87BD#AB87BD

#AB87BD is a light, moderate purple. Relative luminance 0.297; OKLCH L 67.6% C 0.087 H 314.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#AB87BD
RGBrgb(171, 135, 189)
HSLhsl(280, 29%, 64%)
HSVhsv(280, 29%, 74%)
CMYKcmyk(9.5%, 28.6%, 0%, 25.9%)
CIE-LABlab(61.36, 23.71, -22.99)
CIE-LCHlch(61.36, 33.02, 315.89°)
OKLaboklab(67.62% 0.061 -0.0627)
OKLCHoklch(67.62% 0.087 314.2)
XYZxyz(34.6424, 29.6605, 52.0344)
Luminance0.2966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB87BD #99BD87
analogous
#9087BD #AB87BD #BD87B4
triadic
#AB87BD #BDAB87 #87BDAB
tetradic
#AB87BD #BD9087 #99BD87 #87B4BD
square
#AB87BD #BD9087 #99BD87 #87B4BD
split-complementary
#AB87BD #B4BD87 #87BD90
monochromatic
#6F4882 #8F60A7 #AB87BD #C7AED3 #E2D6E8

Accessibility & contrast

On white

3.03
#AB87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#AB87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB87BD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB87BD#FFFFFF#000000##000000
##AB87BD1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92BF
Deuteranopia (green-blind)
#8795BB
Tritanopia (blue-blind)
#AA8E9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab87bd;
/* rgb */ color: rgb(171, 135, 189);
/* oklch */ color: oklch(67.6% 0.087 314.2);
Tailwind
colors: {
  custom: {
    50: '#c4aad1',
    500: '#ab87bd',
    950: '#000000',
  },
}
SCSS
$custom: #ab87bd;
$custom-light: #c4aad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab87bd",
  "rgb": {
    "r": 171,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 280,
    "s": 29.032,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6762,
    "c": 0.08745,
    "h": 314.2
  },
  "luminance": 0.2966
}

Semantic roles & 50–950 ramp

primary
#AB87BD
secondary
#CDD9C6
accent
#A83E61
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #AB87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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