#B987BF#B987BF

#B987BF is a light, moderate purple. Relative luminance 0.314; OKLCH L 69.1% C 0.098 H 322.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B987BF
RGBrgb(185, 135, 191)
HSLhsl(294, 30%, 64%)
HSVhsv(294, 29%, 75%)
CMYKcmyk(3.1%, 29.3%, 0%, 25.1%)
CIE-LABlab(62.85, 28.72, -21.71)
CIE-LCHlch(62.85, 36.01, 322.91°)
OKLaboklab(69.11% 0.0779 -0.0589)
OKLCHoklch(69.11% 0.098 322.9)
XYZxyz(38.0744, 31.4049, 53.3362)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987BF #8DBF87
analogous
#9D87BF #B987BF #BF87A9
triadic
#B987BF #BFB987 #87BFB9
tetradic
#B987BF #BF9D87 #8DBF87 #87A9BF
square
#B987BF #BF9D87 #8DBF87 #87A9BF
split-complementary
#B987BF #A9BF87 #87BF9D
monochromatic
#7E4785 #A25FAA #B987BF #D0AFD4 #E8D7EA

Accessibility & contrast

On white

2.88
#B987BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B987BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987BF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987BF#FFFFFF#000000##000000
##B987BF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294C1
Deuteranopia (green-blind)
#8D9ABD
Tritanopia (blue-blind)
#BB8D9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b987bf;
/* rgb */ color: rgb(185, 135, 191);
/* oklch */ color: oklch(69.1% 0.098 322.9);
Tailwind
colors: {
  custom: {
    50: '#ceaad2',
    500: '#b987bf',
    950: '#000000',
  },
}
SCSS
$custom: #b987bf;
$custom-light: #ceaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b987bf",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 293.571,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.09768,
    "h": 322.9
  },
  "luminance": 0.31404
}

Semantic roles & 50–950 ramp

primary
#B987BF
secondary
#C9DBC7
accent
#A93C48
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #B987BF

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

Preview Lab → · Contrast checker → · Palette generator →

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