#B87ABA#B87ABA

#B87ABA is a light, moderate purple. Relative luminance 0.277; OKLCH L 66.5% C 0.115 H 325.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B87ABA
RGBrgb(184, 122, 186)
HSLhsl(298, 32%, 60%)
HSVhsv(298, 34%, 73%)
CMYKcmyk(1.1%, 34.4%, 0%, 27.1%)
CIE-LABlab(59.58, 34.62, -23.90)
CIE-LCHlch(59.58, 42.07, 325.38°)
OKLaboklab(66.54% 0.0953 -0.065)
OKLCHoklch(66.54% 0.115 325.7)
XYZxyz(35.5888, 27.6559, 49.9083)
Luminance0.2766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87ABA #7CBA7A
analogous
#987ABA #B87ABA #BA7A9C
triadic
#B87ABA #BAB87A #7ABAB8
tetradic
#B87ABA #BA987A #7CBA7A #7A9CBA
square
#B87ABA #BA987A #7CBA7A #7A9CBA
split-complementary
#B87ABA #9CBA7A #7ABA98
monochromatic
#783F7A #A054A2 #B87ABA #CEA2CF #E3CBE4

Accessibility & contrast

On white

3.22
#B87ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B87ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87ABA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87ABA#FFFFFF#000000##000000
##B87ABA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBC
Deuteranopia (green-blind)
#8492B8
Tritanopia (blue-blind)
#BB8092
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b87aba;
/* rgb */ color: rgb(184, 122, 186);
/* oklch */ color: oklch(66.5% 0.115 325.7);
Tailwind
colors: {
  custom: {
    50: '#cea1cf',
    500: '#b87aba',
    950: '#000000',
  },
}
SCSS
$custom: #b87aba;
$custom-light: #cea1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b87aba",
  "rgb": {
    "r": 184,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 298.125,
    "s": 31.683,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66536,
    "c": 0.11534,
    "h": 325.7
  },
  "luminance": 0.27655
}

Semantic roles & 50–950 ramp

primary
#B87ABA
secondary
#BCD4BC
accent
#AA3B3F
background
#FCFAFC
surface
#F9F3F9
border
#D2CDD2
text
#140F13
muted
#827F82

Preview Lab

Preview with #B87ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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