#B987BB#B987BB

#B987BB is a light, moderate purple. Relative luminance 0.312; OKLCH L 68.9% C 0.093 H 325.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B987BB
RGBrgb(185, 135, 187)
HSLhsl(298, 28%, 63%)
HSVhsv(298, 28%, 73%)
CMYKcmyk(1.1%, 27.8%, 0%, 26.7%)
CIE-LABlab(62.70, 27.94, -19.68)
CIE-LCHlch(62.70, 34.18, 324.84°)
OKLaboklab(68.95% 0.0767 -0.0532)
OKLCHoklch(68.95% 0.093 325.3)
XYZxyz(37.6402, 31.2312, 51.0495)
Luminance0.3123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B987BB #89BB87
analogous
#9F87BB #B987BB #BB87A3
triadic
#B987BB #BBB987 #87BBB9
tetradic
#B987BB #BB9F87 #89BB87 #87A3BB
square
#B987BB #BB9F87 #89BB87 #87A3BB
split-complementary
#B987BB #A3BB87 #87BB9F
monochromatic
#7D487F #A260A5 #B987BB #D0AED1 #E7D5E7

Accessibility & contrast

On white

2.90
#B987BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B987BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B987BB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B987BB#FFFFFF#000000##000000
##B987BB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BD
Deuteranopia (green-blind)
#8F9AB9
Tritanopia (blue-blind)
#BC8C99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b987bb;
/* rgb */ color: rgb(185, 135, 187);
/* oklch */ color: oklch(68.9% 0.093 325.3);
Tailwind
colors: {
  custom: {
    50: '#ceaacf',
    500: '#b987bb',
    950: '#000000',
  },
}
SCSS
$custom: #b987bb;
$custom-light: #ceaacf;
$custom-dark: #000000;
JSON
{
  "hex": "#b987bb",
  "rgb": {
    "r": 185,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 297.692,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68947,
    "c": 0.09339,
    "h": 325.3
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#B987BB
secondary
#C6D8C6
accent
#A63F43
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #B987BB

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

Preview Lab → · Contrast checker → · Palette generator →

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